Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001627/0.001627, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002058/0.002058, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.3 MB / 258 MB, free: 8.199 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2322/0.2322, allocations: 46.93 MB / 361.4 MB, free: 4.375 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor")
translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 83.84 kB / 0.4971 GB, free: 7.508 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3825, allocations: 66.05 MB / 0.5616 GB, free: 4.508 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003445/0.386, allocations: 1.921 MB / 0.5635 GB, free: 2.574 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001124/0.3871, allocations: 0.6126 MB / 0.5641 GB, free: 1.957 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.075e-05/0.3872, allocations: 0 / 0.5641 GB, free: 1.957 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 4.984e-05/0.3872, allocations: 11.86 kB / 0.5641 GB, free: 1.945 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.3874, allocations: 43.64 kB / 0.5642 GB, free: 1.902 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.3877, allocations: 83.83 kB / 0.5643 GB, free: 1.82 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002066/0.3879, allocations: 151.4 kB / 0.5644 GB, free: 1.672 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.388, allocations: 32.95 kB / 0.5644 GB, free: 1.641 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.3883, allocations: 67.77 kB / 0.5645 GB, free: 1.574 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.3884, allocations: 71.69 kB / 0.5646 GB, free: 1.504 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.3884, allocations: 12 kB / 0.5646 GB, free: 1.492 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.212e-05/0.3885, allocations: 16 kB / 0.5646 GB, free: 1.477 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.66e-05/0.3885, allocations: 35.89 kB / 0.5646 GB, free: 1.441 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.722e-05/0.3886, allocations: 51.73 kB / 0.5647 GB, free: 1.391 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.3888, allocations: 154.3 kB / 0.5648 GB, free: 1.242 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3888, allocations: 0 / 0.5648 GB, free: 1.242 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.402e-06/0.3888, allocations: 0 / 0.5648 GB, free: 1.242 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.871e-06/0.3888, allocations: 0 / 0.5648 GB, free: 1.242 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 17
 * Number of variables: 17
Notification: Performance of Generate backend data structure: time 0.000873/0.3897, allocations: 373.8 kB / 0.5652 GB, free: 0.8477 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3897, allocations: 12.03 kB / 0.5652 GB, free: 0.8359 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.39, allocations: 40.81 kB / 0.5652 GB, free: 0.7969 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.3902, allocations: 136.8 kB / 0.5654 GB, free: 0.6406 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.3902, allocations: 4.375 kB / 0.5654 GB, free: 0.6367 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.3903, allocations: 8.375 kB / 0.5654 GB, free: 0.6289 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.3906, allocations: 140.5 kB / 0.5655 GB, free: 488 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.3906, allocations: 7.938 kB / 0.5655 GB, free: 480 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.3907, allocations: 4 kB / 0.5655 GB, free: 476 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3907, allocations: 0 / 0.5655 GB, free: 476 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003354/0.391, allocations: 95.92 kB / 0.5656 GB, free: 380 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009082/0.3919, allocations: 418.5 kB / 0.566 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.3922, allocations: 94.52 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.3924, allocations: 40.92 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.3924, allocations: 0 / 0.5661 GB, free: 15.77 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.3924, allocations: 34.56 kB / 0.5662 GB, free: 15.72 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3924, allocations: 0 / 0.5662 GB, free: 15.72 MB / 414.1 MB
Notification: Performance of matching and sorting (n=6): time 0.001357/0.3938, allocations: 317.1 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/0.3939, allocations: 110.8 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.394, allocations: 161.5 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.3941, allocations: 25.7 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.3942, allocations: 112.2 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.3942, allocations: 27.78 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.3943, allocations: 25.7 kB / 0.5669 GB, free: 14.9 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001597/0.3944, allocations: 322.8 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.3947, allocations: 59.95 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.395, allocations: 92.23 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.3954, allocations: 134.5 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3954, allocations: 0 / 0.5675 GB, free: 14.27 MB / 414.1 MB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004944/0.3959, allocations: 173.5 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3959, allocations: 15.92 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3959, allocations: 0 / 0.5677 GB, free: 14.08 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.3959, allocations: 288 / 0.5677 GB, free: 14.08 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.3965, allocations: 91.97 kB / 0.5678 GB, free: 13.99 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.3982, allocations: 1.389 MB / 0.5691 GB, free: 12.48 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.3984, allocations: 28.12 kB / 0.5691 GB, free: 12.45 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.3984, allocations: 8 kB / 0.5692 GB, free: 12.45 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * 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 (9):
 * Single equations (assignments): 8
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 1 system
   {1}
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.3986, allocations: 125.7 kB / 0.5693 GB, free: 12.31 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.3986, allocations: 11.95 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005178/0.3991, allocations: 170.3 kB / 0.5694 GB, free: 12.13 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3991, allocations: 4 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.82e-07/0.3991, allocations: 0 / 0.5694 GB, free: 12.12 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3991, allocations: 0 / 0.5694 GB, free: 12.12 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008746/0.4, allocations: 433.4 kB / 0.5699 GB, free: 11.65 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.4, allocations: 4.062 kB / 0.5699 GB, free: 11.65 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.4002, allocations: 27.97 kB / 0.5699 GB, free: 11.62 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.4002, allocations: 0 / 0.5699 GB, free: 11.62 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.4002, allocations: 4 kB / 0.5699 GB, free: 11.62 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4002, allocations: 7.938 kB / 0.5699 GB, free: 11.61 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4002, allocations: 0 / 0.5699 GB, free: 11.61 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005553/0.4007, allocations: 263.3 kB / 0.5702 GB, free: 11.34 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.4008, allocations: 11.89 kB / 0.5702 GB, free: 11.32 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.4008, allocations: 0 / 0.5702 GB, free: 11.32 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.401, allocations: 28.09 kB / 0.5702 GB, free: 11.3 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/0.4011, allocations: 11.98 kB / 0.5702 GB, free: 11.29 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.4011, allocations: 3.938 kB / 0.5702 GB, free: 11.28 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.000105/0.4012, allocations: 113.7 kB / 0.5703 GB, free: 11.17 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4012, allocations: 4 kB / 0.5703 GB, free: 11.17 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002812/0.4015, allocations: 28 kB / 0.5703 GB, free: 11.14 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 simulation (7):
 * Single equations (assignments): 7
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001489/0.4016, allocations: 95.25 kB / 0.5704 GB, free: 11.04 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009074/0.4025, allocations: 171.9 kB / 0.5706 GB, free: 10.87 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4025, allocations: 0 / 0.5706 GB, free: 10.87 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.4028, allocations: 67.88 kB / 0.5707 GB, free: 10.8 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.4032, allocations: 12 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.4045, allocations: 379.8 kB / 0.571 GB, free: 10.39 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.4049, allocations: 0.7002 MB / 0.5717 GB, free: 9.664 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 8.958e-05/0.4049, allocations: 20.41 kB / 0.5717 GB, free: 9.645 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.405, allocations: 11.44 kB / 0.5718 GB, free: 9.633 MB / 414.1 MB
Notification: Performance of SimCode: time 3.81e-07/0.405, allocations: 0 / 0.5718 GB, free: 9.633 MB / 414.1 MB
Notification: Performance of Templates: time 0.005135/0.4101, allocations: 1.77 MB / 0.5735 GB, free: 7.871 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.177965648472309]