Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 104.6 kB / 21.22 MB, free: 0.5078 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 182.6 kB / 24.51 MB, free: 3.898 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2607/0.2607, allocations: 44.91 MB / 353.5 MB, free: 11.89 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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)
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(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_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.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 63.91 kB / 497.7 MB, free: 1.016 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4134, allocations: 64.29 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.004296/0.4177, allocations: 1.916 MB / 0.5507 GB, free: 11.66 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00135/0.4191, allocations: 0.5561 MB / 0.5512 GB, free: 11.21 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.4192, allocations: 1.219 kB / 0.5512 GB, free: 11.21 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 8.609e-05/0.4193, allocations: 13.23 kB / 0.5512 GB, free: 11.2 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.4196, allocations: 43.97 kB / 0.5513 GB, free: 11.16 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.4199, allocations: 79.42 kB / 0.5514 GB, free: 11.11 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003021/0.4202, allocations: 162 kB / 0.5515 GB, free: 11.01 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.4204, allocations: 29.48 kB / 0.5515 GB, free: 10.99 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.4206, allocations: 63.91 kB / 0.5516 GB, free: 10.95 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.4208, allocations: 71.33 kB / 0.5517 GB, free: 10.9 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.4208, allocations: 12.22 kB / 0.5517 GB, free: 10.9 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 3.86e-05/0.4209, allocations: 12.41 kB / 0.5517 GB, free: 10.9 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.4209, allocations: 32.09 kB / 0.5517 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.421, allocations: 60.5 kB / 0.5518 GB, free: 10.83 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.4213, allocations: 138.4 kB / 0.5519 GB, free: 10.73 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4213, allocations: 0 / 0.5519 GB, free: 10.73 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.403e-06/0.4213, allocations: 4 kB / 0.5519 GB, free: 10.73 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.127e-05/0.4213, allocations: 5.031 kB / 0.5519 GB, free: 10.73 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.001038/0.4223, allocations: 374.3 kB / 0.5523 GB, free: 10.39 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.4224, allocations: 18.44 kB / 0.5523 GB, free: 10.38 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/0.4224, allocations: 10.48 kB / 0.5523 GB, free: 10.38 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.4227, allocations: 136.4 kB / 0.5524 GB, free: 10.23 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.4227, allocations: 7.812 kB / 0.5524 GB, free: 10.23 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.4227, allocations: 8.938 kB / 0.5524 GB, free: 10.22 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.4231, allocations: 137.7 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.4231, allocations: 4 kB / 0.5526 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.4232, allocations: 1.188 kB / 0.5526 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.4232, allocations: 2.438 kB / 0.5526 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003835/0.4236, allocations: 95.23 kB / 0.5527 GB, free: 10.07 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.4246, allocations: 421.3 kB / 0.5531 GB, free: 9.676 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.425, allocations: 96.95 kB / 0.5532 GB, free: 9.613 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.4252, allocations: 36.67 kB / 0.5532 GB, free: 9.594 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.4252, allocations: 1.25 kB / 0.5532 GB, free: 9.594 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.4252, allocations: 35.78 kB / 0.5532 GB, free: 9.551 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.4252, allocations: 0 / 0.5532 GB, free: 9.551 MB / 398.1 MB
Notification: Performance of matching and sorting (n=6): time 0.001601/0.4268, allocations: 320.8 kB / 0.5535 GB, free: 9.379 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.93e-05/0.4269, allocations: 103.9 kB / 0.5536 GB, free: 9.254 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.4271, allocations: 146 kB / 0.5538 GB, free: 9.133 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.4271, allocations: 25.7 kB / 0.5538 GB, free: 9.102 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.4273, allocations: 122.7 kB / 0.5539 GB, free: 8.98 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.4273, allocations: 22.33 kB / 0.5539 GB, free: 8.961 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/0.4274, allocations: 29.73 kB / 0.554 GB, free: 8.934 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001609/0.4275, allocations: 321.1 kB / 0.5543 GB, free: 8.613 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.4278, allocations: 56.33 kB / 0.5543 GB, free: 8.59 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.4281, allocations: 101.2 kB / 0.5544 GB, free: 8.512 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/0.4285, allocations: 134.4 kB / 0.5546 GB, free: 8.434 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4285, allocations: 1.125 kB / 0.5546 GB, free: 8.434 MB / 398.1 MB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005794/0.4291, allocations: 177.2 kB / 0.5547 GB, free: 8.332 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.4291, allocations: 9.844 kB / 0.5547 GB, free: 8.328 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4291, allocations: 1.25 kB / 0.5547 GB, free: 8.328 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.4292, allocations: 9.141 kB / 0.5548 GB, free: 8.32 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/0.4298, allocations: 83.19 kB / 0.5548 GB, free: 8.297 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.4317, allocations: 1.403 MB / 0.5562 GB, free: 6.867 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.432, allocations: 23.38 kB / 0.5562 GB, free: 6.859 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.432, allocations: 2.188 kB / 0.5562 GB, free: 6.859 MB / 398.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.0001694/0.4322, allocations: 143.3 kB / 0.5564 GB, free: 6.715 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.4322, allocations: 12.47 kB / 0.5564 GB, free: 6.707 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005682/0.4328, allocations: 162.5 kB / 0.5565 GB, free: 6.609 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4328, allocations: 5.156 kB / 0.5565 GB, free: 6.605 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.4328, allocations: 0 / 0.5565 GB, free: 6.605 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4328, allocations: 1.125 kB / 0.5565 GB, free: 6.605 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009403/0.4338, allocations: 436.5 kB / 0.557 GB, free: 6.223 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4338, allocations: 1.688 kB / 0.557 GB, free: 6.223 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.4339, allocations: 26.22 kB / 0.557 GB, free: 6.215 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4339, allocations: 0 / 0.557 GB, free: 6.215 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.4339, allocations: 1.125 kB / 0.557 GB, free: 6.215 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.4339, allocations: 5.219 kB / 0.557 GB, free: 6.211 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4339, allocations: 0 / 0.557 GB, free: 6.211 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005867/0.4345, allocations: 251.3 kB / 0.5572 GB, free: 6.02 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.4346, allocations: 10.42 kB / 0.5572 GB, free: 6.012 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.4346, allocations: 1.062 kB / 0.5572 GB, free: 6.012 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.4348, allocations: 30.72 kB / 0.5573 GB, free: 5.996 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.4349, allocations: 5.891 kB / 0.5573 GB, free: 5.992 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.4349, allocations: 6 kB / 0.5573 GB, free: 5.988 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001279/0.435, allocations: 113.5 kB / 0.5574 GB, free: 5.895 MB / 398.1 MB
Notification: Performance of sort global known variables: time 5.1e-08/0.435, allocations: 0.7812 kB / 0.5574 GB, free: 5.895 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.000288/0.4353, allocations: 29.53 kB / 0.5574 GB, free: 5.891 MB / 398.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.0001234/0.4354, allocations: 97.41 kB / 0.5575 GB, free: 5.797 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.001074/0.4365, allocations: 176 kB / 0.5577 GB, free: 5.723 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4365, allocations: 0 / 0.5577 GB, free: 5.723 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.4367, allocations: 59.98 kB / 0.5577 GB, free: 5.699 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.4371, allocations: 12.52 kB / 0.5577 GB, free: 5.691 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.4386, allocations: 385.5 kB / 0.5581 GB, free: 5.441 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.439, allocations: 0.7041 MB / 0.5588 GB, free: 4.711 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 7.831e-05/0.439, allocations: 12.42 kB / 0.5588 GB, free: 4.699 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.4391, allocations: 23.38 kB / 0.5588 GB, free: 4.676 MB / 398.1 MB
Notification: Performance of SimCode: time 1.042e-06/0.4391, allocations: 0 / 0.5588 GB, free: 4.676 MB / 398.1 MB
Notification: Performance of Templates: time 0.005943/0.4451, allocations: 1.78 MB / 0.5606 GB, free: 2.906 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.619187865406275]