Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 114.5 kB / 17.73 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 179 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001128, allocations: 48.25 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08795/0.08908, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003698/0.09282, allocations: 2.664 MB / 377.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.09417, allocations: 0.908 MB / 378.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.09431, allocations: 7.938 kB / 378.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.09456, allocations: 55.45 kB / 378.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.09482, allocations: 107.2 kB / 378.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.09507, allocations: 91.88 kB / 379 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.09542, allocations: 358.6 kB / 379.3 MB, free: 384 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.09563, allocations: 113.7 kB / 379.4 MB, free: 268 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.09582, allocations: 139.5 kB / 379.6 MB, free: 128 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2044/0.3002, allocations: 136.6 kB / 379.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.3004, allocations: 30.03 kB / 379.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.3005, allocations: 29.88 kB / 379.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.741e-05/0.3006, allocations: 70.3 kB / 379.8 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.3008, allocations: 155.5 kB / 380 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004787/0.3013, allocations: 361 kB / 380.3 MB, free: 9.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3013, allocations: 0 / 380.3 MB, free: 9.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3013, allocations: 0.5312 kB / 380.3 MB, free: 9.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.3013, allocations: 4.094 kB / 380.3 MB, free: 9.973 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009976/0.3023, allocations: 0.6009 MB / 380.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3024, allocations: 16.83 kB / 380.9 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/0.3025, allocations: 36.28 kB / 381 MB, free: 9.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.3028, allocations: 257.8 kB / 381.2 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.3028, allocations: 18.06 kB / 381.2 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.3029, allocations: 29.53 kB / 381.3 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/0.3034, allocations: 250.5 kB / 381.5 MB, free: 9.246 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3034, allocations: 7.844 kB / 381.5 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.3034, allocations: 10.5 kB / 381.5 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3035, allocations: 6.219 kB / 381.5 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.3039, allocations: 209.6 kB / 381.7 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.3057, allocations: 0.9967 MB / 382.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005941/0.3063, allocations: 207.7 kB / 382.9 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/0.3067, allocations: 112 kB / 383.1 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.3067, allocations: 6.312 kB / 383.1 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.3067, allocations: 33.66 kB / 383.1 MB, free: 8.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.754e-06/0.3068, allocations: 1.219 kB / 383.1 MB, free: 8.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.005164/0.3119, allocations: 1.542 MB / 384.6 MB, free: 8.184 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.312, allocations: 63.03 kB / 384.7 MB, free: 8.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.3122, allocations: 221.5 kB / 384.9 MB, free: 8.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.3122, allocations: 35.36 kB / 385 MB, free: 7.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.3123, allocations: 180.8 kB / 385.1 MB, free: 7.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/0.3124, allocations: 123.7 kB / 385.2 MB, free: 7.777 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.3125, allocations: 62.19 kB / 385.3 MB, free: 7.758 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.176e-05/0.3126, allocations: 337.6 kB / 385.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.3128, allocations: 111.1 kB / 385.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.3131, allocations: 164.7 kB / 385.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.3136, allocations: 273.4 kB / 386.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3136, allocations: 1.031 kB / 386.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00153/0.3151, allocations: 0.5383 MB / 386.7 MB, free: 6.949 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3151, allocations: 6.484 kB / 386.7 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3152, allocations: 5.625 kB / 386.7 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.3164, allocations: 239.1 kB / 387 MB, free: 6.895 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.3167, allocations: 60.8 kB / 387 MB, free: 6.891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00426/0.321, allocations: 4.134 MB / 391.2 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.3213, allocations: 14.23 kB / 391.2 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.3213, allocations: 10.33 kB / 391.2 MB, free: 3.285 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.3215, allocations: 156.5 kB / 391.3 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.3215, allocations: 25.91 kB / 391.4 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.191e-05/0.3216, allocations: 38.02 kB / 391.4 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3216, allocations: 3.469 kB / 391.4 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.3217, allocations: 2.938 kB / 391.4 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3217, allocations: 1.266 kB / 391.4 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/0.3238, allocations: 0.983 MB / 392.4 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.3238, allocations: 9.828 kB / 392.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.324, allocations: 45.75 kB / 392.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/0.3252, allocations: 242.6 kB / 392.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.3252, allocations: 7.219 kB / 392.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004125/0.3293, allocations: 4.128 MB / 396.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3294, allocations: 1.062 kB / 396.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.3312, allocations: 0.7302 MB / 397.5 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.3313, allocations: 102.5 kB / 397.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.3314, allocations: 10.14 kB / 397.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.3316, allocations: 12.33 kB / 397.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.3317, allocations: 32.48 kB / 397.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.3317, allocations: 13.27 kB / 397.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.3319, allocations: 162 kB / 397.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3319, allocations: 0 / 397.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000648/0.3326, allocations: 104.2 kB / 398 MB, free: 14.24 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001465/0.3327, allocations: 108.3 kB / 398.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.3338, allocations: 0.5687 MB / 398.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3338, allocations: 5.094 kB / 398.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005961/0.3344, allocations: 436.2 kB / 399.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.3348, allocations: 32.14 kB / 399.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.3361, allocations: 0.6869 MB / 399.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.3365, allocations: 0.7811 MB / 400.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.596e-05/0.3366, allocations: 20.48 kB / 400.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.3367, allocations: 18.91 kB / 400.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3367, allocations: 0 / 400.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of Templates: time 0.01202/0.3487, allocations: 5.499 MB / 406.1 MB, free: 10.98 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches