Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 95.27 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.049e-05/2.061e-05, allocations: 4 kB / 314.8 MB, free: 9.16 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3376, allocations: 47.57 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.4611, allocations: 76.22 MB / 438.5 MB, free: 10.12 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.4615, allocations: 65.84 kB / 438.6 MB, free: 10.06 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01557/0.477, allocations: 3.127 MB / 441.7 MB, free: 6.961 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4771, allocations: 0 / 441.7 MB, free: 6.961 MB / 331.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.4771, allocations: 8 kB / 441.7 MB, free: 6.953 MB / 331.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009102/0.478, allocations: 424 kB / 442.2 MB, free: 6.496 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.4781, allocations: 12.03 kB / 442.2 MB, free: 6.484 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.114e-05/0.4782, allocations: 20.75 kB / 442.2 MB, free: 6.465 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.4785, allocations: 197.5 kB / 442.4 MB, free: 6.234 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.4785, allocations: 7.953 kB / 442.4 MB, free: 6.227 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.4786, allocations: 7.906 kB / 442.4 MB, free: 6.219 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002401/0.4788, allocations: 63.98 kB / 442.5 MB, free: 6.156 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.4791, allocations: 124 kB / 442.6 MB, free: 6.02 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4792, allocations: 0 / 442.6 MB, free: 6.02 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.4792, allocations: 4 kB / 442.6 MB, free: 6.016 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.4792, allocations: 0 / 442.6 MB, free: 6.016 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.4807, allocations: 487.9 kB / 443.1 MB, free: 5.496 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.4809, allocations: 67.69 kB / 443.1 MB, free: 5.422 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.4811, allocations: 56.84 kB / 443.2 MB, free: 5.363 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.4811, allocations: 0 / 443.2 MB, free: 5.363 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.4812, allocations: 34.5 kB / 443.2 MB, free: 5.32 MB / 331.1 MB Notification: Performance of pre-optimization done (n=7): time 2.294e-06/0.4812, allocations: 0 / 443.2 MB, free: 5.32 MB / 331.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003316/0.4815, allocations: 89.53 kB / 443.3 MB, free: 5.227 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.4816, allocations: 106.8 kB / 443.4 MB, free: 5.098 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.4818, allocations: 140 kB / 443.6 MB, free: 4.957 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.4819, allocations: 25.7 kB / 443.6 MB, free: 4.926 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.482, allocations: 178.3 kB / 443.8 MB, free: 4.75 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.4821, allocations: 27.86 kB / 443.8 MB, free: 4.723 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/0.4821, allocations: 0 / 443.8 MB, free: 4.723 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4823, allocations: 324.8 kB / 444.1 MB, free: 4.398 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.309e-05/0.4824, allocations: 24 kB / 444.1 MB, free: 4.375 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.4825, allocations: 61.14 kB / 444.2 MB, free: 4.297 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.4826, allocations: 37.92 kB / 444.2 MB, free: 4.262 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4826, allocations: 0 / 444.2 MB, free: 4.262 MB / 331.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000314/0.483, allocations: 101.6 kB / 444.3 MB, free: 4.156 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.483, allocations: 12.03 kB / 444.3 MB, free: 4.145 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.483, allocations: 0 / 444.3 MB, free: 4.145 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.4831, allocations: 0 / 444.3 MB, free: 4.145 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.4842, allocations: 91.86 kB / 444.4 MB, free: 4.055 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.4861, allocations: 1.323 MB / 445.7 MB, free: 2.617 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.4865, allocations: 28.02 kB / 445.8 MB, free: 2.59 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.4865, allocations: 11.98 kB / 445.8 MB, free: 2.578 MB / 331.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.4866, allocations: 104.9 kB / 445.9 MB, free: 2.469 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/0.4867, allocations: 7.953 kB / 445.9 MB, free: 2.461 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005197/0.4872, allocations: 128.1 kB / 446 MB, free: 2.328 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.4873, allocations: 8 kB / 446 MB, free: 2.32 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.4873, allocations: 0 / 446 MB, free: 2.32 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4873, allocations: 0 / 446 MB, free: 2.32 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009113/0.4882, allocations: 400.6 kB / 446.4 MB, free: 1.879 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.4882, allocations: 5.625 kB / 446.4 MB, free: 1.875 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.4885, allocations: 21.02 kB / 446.4 MB, free: 1.855 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003841/0.4889, allocations: 48.78 kB / 446.5 MB, free: 1.805 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.489, allocations: 0 / 446.5 MB, free: 1.805 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/0.4905, allocations: 1.236 MB / 447.7 MB, free: 472 kB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.4905, allocations: 4.031 kB / 447.7 MB, free: 468 kB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006416/0.4912, allocations: 262.8 kB / 448 MB, free: 176 kB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.924e-05/0.4913, allocations: 96.88 kB / 448.1 MB, free: 60 kB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.496e-05/0.4913, allocations: 0 / 448.1 MB, free: 60 kB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.4917, allocations: 15.98 kB / 448.1 MB, free: 44 kB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.4917, allocations: 12.98 kB / 448.1 MB, free: 32 kB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.4918, allocations: 7.938 kB / 448.1 MB, free: 24 kB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.4919, allocations: 116.5 kB / 448.2 MB, free: 15.91 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.492, allocations: 0 / 448.2 MB, free: 15.91 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0004501/0.4924, allocations: 32 kB / 448.3 MB, free: 15.88 MB / 347.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001867/0.4926, allocations: 99.19 kB / 448.4 MB, free: 15.77 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0009875/0.4936, allocations: 113.5 kB / 448.5 MB, free: 15.66 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4936, allocations: 0 / 448.5 MB, free: 15.66 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.494, allocations: 142.4 kB / 448.6 MB, free: 15.51 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.4943, allocations: 9.734 kB / 448.6 MB, free: 15.5 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.4967, allocations: 463.9 kB / 449.1 MB, free: 15.03 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.4971, allocations: 0.7158 MB / 449.8 MB, free: 14.29 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.805e-05/0.4972, allocations: 15.44 kB / 449.8 MB, free: 14.27 MB / 347.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4972, allocations: 3.938 kB / 449.8 MB, free: 14.27 MB / 347.1 MB Notification: Performance of Templates: time 0.006017/0.5032, allocations: 2.127 MB / 451.9 MB, free: 12.15 MB / 347.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches