Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009829/0.0009829, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008059/0.0008057, allocations: 93.03 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.637e-05/1.667e-05, allocations: 4 kB / 343.7 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09176/0.09179, allocations: 51.48 MB / 395.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3448/0.4367, allocations: 81.32 MB / 476.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.4369, allocations: 78.34 kB / 476.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01733/0.4542, allocations: 7.285 MB / 483.9 MB, free: 5.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4543, allocations: 0 / 483.9 MB, free: 5.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.4543, allocations: 7.938 kB / 483.9 MB, free: 5.812 MB / 346.7 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.0008498/0.4552, allocations: 0.5238 MB / 484.4 MB, free: 5.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.4552, allocations: 12.02 kB / 484.4 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.4555, allocations: 52.19 kB / 484.5 MB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.4559, allocations: 262.2 kB / 484.7 MB, free: 4.926 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.4559, allocations: 8 kB / 484.7 MB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.456, allocations: 19.61 kB / 484.7 MB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003168/0.4563, allocations: 178.7 kB / 484.9 MB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/0.4566, allocations: 186.1 kB / 485.1 MB, free: 4.652 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4566, allocations: 4 kB / 485.1 MB, free: 4.648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.4567, allocations: 1.219 kB / 485.1 MB, free: 4.648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.4567, allocations: 8 kB / 485.1 MB, free: 4.641 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.4581, allocations: 0.9595 MB / 486.1 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.4584, allocations: 178.6 kB / 486.2 MB, free: 3.652 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.4586, allocations: 94.66 kB / 486.3 MB, free: 3.586 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.4586, allocations: 4 kB / 486.3 MB, free: 3.582 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.4587, allocations: 36.81 kB / 486.4 MB, free: 3.539 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 1.913e-06/0.4587, allocations: 0 / 486.4 MB, free: 3.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.00305/0.4617, allocations: 1.098 MB / 487.5 MB, free: 2.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.895e-05/0.4618, allocations: 58.12 kB / 487.5 MB, free: 2.504 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.4619, allocations: 197.4 kB / 487.7 MB, free: 2.328 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.462, allocations: 25.7 kB / 487.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.462, allocations: 183.5 kB / 487.9 MB, free: 2.141 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.4621, allocations: 111.1 kB / 488 MB, free: 2.043 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/0.4621, allocations: 0 / 488 MB, free: 2.043 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.546e-05/0.4622, allocations: 332.9 kB / 488.4 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.4623, allocations: 90.69 kB / 488.4 MB, free: 1.668 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.4625, allocations: 141.2 kB / 488.6 MB, free: 1.559 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.4626, allocations: 111.3 kB / 488.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4626, allocations: 3.953 kB / 488.7 MB, free: 1.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001239/0.4639, allocations: 489.2 kB / 489.2 MB, free: 1.098 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.4639, allocations: 9.594 kB / 489.2 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.4639, allocations: 7.938 kB / 489.2 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007485/0.4647, allocations: 189.4 kB / 489.4 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.465, allocations: 51.91 kB / 489.4 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004032/0.469, allocations: 3.625 MB / 493.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.4693, allocations: 8.031 kB / 493.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.4693, allocations: 15.42 kB / 493.1 MB, free: 13.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.4695, allocations: 108.9 kB / 493.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.4696, allocations: 27.72 kB / 493.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.954e-05/0.4697, allocations: 35.7 kB / 493.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4697, allocations: 17.66 kB / 493.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.4697, allocations: 0 / 493.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4697, allocations: 0 / 493.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.4714, allocations: 0.8644 MB / 494.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4715, allocations: 0 / 494.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.4717, allocations: 43.86 kB / 494.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007083/0.4724, allocations: 181.3 kB / 494.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.4724, allocations: 0 / 494.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003756/0.4762, allocations: 3.624 MB / 498 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4762, allocations: 3.953 kB / 498 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.4777, allocations: 0.6702 MB / 498.6 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.919e-05/0.4778, allocations: 104.3 kB / 498.7 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.4779, allocations: 0 / 498.7 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.4781, allocations: 15.17 kB / 498.8 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.303e-05/0.4782, allocations: 27.08 kB / 498.8 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.4782, allocations: 11.5 kB / 498.8 MB, free: 8.363 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.4784, allocations: 152.4 kB / 498.9 MB, free: 8.238 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4784, allocations: 0 / 498.9 MB, free: 8.238 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005747/0.4789, allocations: 95.95 kB / 499 MB, free: 8.145 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001816/0.4791, allocations: 119.2 kB / 499.2 MB, free: 8.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007147/0.4799, allocations: 0.5008 MB / 499.7 MB, free: 7.605 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4799, allocations: 0 / 499.7 MB, free: 7.605 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004215/0.4803, allocations: 391.4 kB / 0.4883 GB, free: 7.266 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.4805, allocations: 18.59 kB / 0.4883 GB, free: 7.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008776/0.4814, allocations: 445.4 kB / 0.4888 GB, free: 6.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.4818, allocations: 0.7879 MB / 0.4895 GB, free: 6.031 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.4819, allocations: 14.08 kB / 0.4895 GB, free: 6.016 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.4819, allocations: 19.42 kB / 0.4896 GB, free: 5.996 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4819, allocations: 0 / 0.4896 GB, free: 5.996 MB / 362.7 MB Notification: Performance of Templates: time 0.009083/0.491, allocations: 4.949 MB / 0.4944 GB, free: 1.121 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches