Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009603/0.0009603, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 221.3 MB / 235.5 MB, free: 2.891 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009205/0.0009208, allocations: 92.05 kB / 286.5 MB, free: 160 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.374e-05/2.376e-05, allocations: 8 kB / 343.8 MB, free: 4.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1035, allocations: 50.41 MB / 394.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3241/0.4277, allocations: 81.11 MB / 475.4 MB, free: 6.402 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.428, allocations: 85.56 kB / 475.4 MB, free: 6.324 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03126/0.4593, allocations: 7.168 MB / 482.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.592e-06/0.4593, allocations: 0 / 482.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.4593, allocations: 12 kB / 482.6 MB, free: 15.11 MB / 362.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.001112/0.4605, allocations: 0.5304 MB / 483.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.4605, allocations: 16.03 kB / 483.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.632e-05/0.4606, allocations: 31.62 kB / 483.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/0.4611, allocations: 255.1 kB / 483.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.4612, allocations: 20.56 kB / 483.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.4613, allocations: 24 kB / 483.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006628/0.4619, allocations: 232.9 kB / 483.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.462, allocations: 0 / 483.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/0.462, allocations: 19.95 kB / 483.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.462, allocations: 4 kB / 483.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/0.4626, allocations: 190.2 kB / 483.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.465, allocations: 1.017 MB / 484.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/0.4655, allocations: 187.4 kB / 485.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.4658, allocations: 100.8 kB / 485.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/0.4659, allocations: 4 kB / 485.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.466, allocations: 42.59 kB / 485.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.705e-06/0.466, allocations: 0 / 485.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.005792/0.4718, allocations: 1.221 MB / 486.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.4718, allocations: 55.41 kB / 486.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.4722, allocations: 208.7 kB / 486.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.4722, allocations: 29.7 kB / 486.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.4724, allocations: 188.1 kB / 487 MB, free: 10.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.4725, allocations: 114.3 kB / 487.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.4726, allocations: 8 kB / 487.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.4728, allocations: 334.8 kB / 487.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.4731, allocations: 95.94 kB / 487.5 MB, free: 9.934 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.4734, allocations: 153.4 kB / 487.6 MB, free: 9.762 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.4738, allocations: 121.5 kB / 487.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4738, allocations: 3.938 kB / 487.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002279/0.4761, allocations: 0.5161 MB / 488.3 MB, free: 9.113 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.4761, allocations: 11.98 kB / 488.3 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.4761, allocations: 0 / 488.3 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.4773, allocations: 185.5 kB / 488.5 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.4777, allocations: 59.97 kB / 488.5 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005836/0.4836, allocations: 3.753 MB / 492.3 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.4839, allocations: 16.03 kB / 492.3 MB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.484, allocations: 8.094 kB / 492.3 MB, free: 4.809 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.0001252/0.4841, allocations: 132.6 kB / 492.4 MB, free: 4.676 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.718e-05/0.4842, allocations: 23.72 kB / 492.5 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.4843, allocations: 35.09 kB / 492.5 MB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.4843, allocations: 8.062 kB / 492.5 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.4843, allocations: 7.938 kB / 492.5 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.4843, allocations: 3.984 kB / 492.5 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.4864, allocations: 0.9377 MB / 493.5 MB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4864, allocations: 4 kB / 493.5 MB, free: 3.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.4866, allocations: 43.91 kB / 493.5 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007431/0.4874, allocations: 181.8 kB / 493.7 MB, free: 3.363 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.4874, allocations: 11.98 kB / 493.7 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004277/0.4917, allocations: 3.748 MB / 497.4 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4917, allocations: 0 / 497.4 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.4933, allocations: 0.718 MB / 498.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.4934, allocations: 97.14 kB / 498.3 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.4934, allocations: 8 kB / 498.3 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.4937, allocations: 15.98 kB / 498.3 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.4938, allocations: 35.84 kB / 498.3 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.4938, allocations: 8 kB / 498.3 MB, free: 14.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.4939, allocations: 165.4 kB / 498.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4939, allocations: 0 / 498.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005397/0.4945, allocations: 108 kB / 498.6 MB, free: 14.14 MB / 378.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.000158/0.4947, allocations: 119.2 kB / 498.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008062/0.4955, allocations: 0.532 MB / 499.2 MB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4955, allocations: 0 / 499.2 MB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.496, allocations: 417.3 kB / 499.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.4962, allocations: 24.38 kB / 499.7 MB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008528/0.497, allocations: 470.7 kB / 0.4884 GB, free: 12.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.4974, allocations: 0.784 MB / 0.4892 GB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.925e-05/0.4975, allocations: 22.06 kB / 0.4892 GB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.4975, allocations: 15.44 kB / 0.4892 GB, free: 11.66 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4975, allocations: 0 / 0.4892 GB, free: 11.66 MB / 378.7 MB Notification: Performance of Templates: time 0.00902/0.5065, allocations: 5.343 MB / 0.4944 GB, free: 6.324 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches