Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.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.001808/0.001808, allocations: 106 kB / 21.22 MB, free: 0.6758 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.002117/0.002117, allocations: 189.2 kB / 24.51 MB, free: 4.051 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.538/1.538, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.2381/0.2381, allocations: 44.91 MB / 353.5 MB, free: 11.84 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.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources")
translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003132/0.003132, allocations: 63.89 kB / 497.7 MB, free: 1.035 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4871/0.4903, allocations: 64.28 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004665/0.4949, allocations: 2.707 MB / 0.5514 GB, free: 11.04 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001455/0.4964, allocations: 0.7626 MB / 0.5522 GB, free: 10.41 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.4965, allocations: 5.438 kB / 0.5522 GB, free: 10.41 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.4968, allocations: 63.97 kB / 0.5523 GB, free: 10.36 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.497, allocations: 105.6 kB / 0.5524 GB, free: 10.27 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.4973, allocations: 105.6 kB / 0.5525 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004466/0.4978, allocations: 421.5 kB / 0.5529 GB, free: 9.926 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.498, allocations: 107.3 kB / 0.553 GB, free: 9.852 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.4982, allocations: 155.9 kB / 0.5531 GB, free: 9.762 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.4984, allocations: 171.7 kB / 0.5533 GB, free: 9.637 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.336e-05/0.4985, allocations: 37.44 kB / 0.5533 GB, free: 9.633 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.962e-05/0.4986, allocations: 32.5 kB / 0.5533 GB, free: 9.633 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.837e-05/0.4986, allocations: 77.94 kB / 0.5534 GB, free: 9.566 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.4988, allocations: 183.4 kB / 0.5536 GB, free: 9.438 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.4993, allocations: 425.5 kB / 0.554 GB, free: 9.121 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4993, allocations: 0 / 0.554 GB, free: 9.121 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.475e-06/0.4993, allocations: 1.156 kB / 0.554 GB, free: 9.121 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.385e-05/0.4993, allocations: 0 / 0.554 GB, free: 9.121 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: 84
 * Number of variables: 84
Notification: Performance of Generate backend data structure: time 0.001142/0.5005, allocations: 0.5926 MB / 0.5546 GB, free: 8.629 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.5005, allocations: 10.17 kB / 0.5546 GB, free: 8.629 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.436e-05/0.5006, allocations: 41.17 kB / 0.5546 GB, free: 8.609 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.501, allocations: 220 kB / 0.5548 GB, free: 8.395 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.5011, allocations: 26.95 kB / 0.5549 GB, free: 8.379 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/0.5011, allocations: 37.69 kB / 0.5549 GB, free: 8.363 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007312/0.5018, allocations: 363 kB / 0.5552 GB, free: 8.133 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5018, allocations: 0 / 0.5552 GB, free: 8.133 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.5019, allocations: 15.44 kB / 0.5553 GB, free: 8.121 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.5019, allocations: 7.812 kB / 0.5553 GB, free: 8.121 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000661/0.5026, allocations: 267.7 kB / 0.5555 GB, free: 8 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.5047, allocations: 1.3 MB / 0.5568 GB, free: 6.867 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.5053, allocations: 188.2 kB / 0.557 GB, free: 6.719 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.5055, allocations: 78.92 kB / 0.557 GB, free: 6.66 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.5055, allocations: 6.281 kB / 0.5571 GB, free: 6.656 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.5056, allocations: 40.91 kB / 0.5571 GB, free: 6.609 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.5056, allocations: 3.938 kB / 0.5571 GB, free: 6.605 MB / 398.1 MB
Notification: Performance of matching and sorting (n=15): time 0.0008446/0.5064, allocations: 247.3 kB / 0.5573 GB, free: 6.473 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.684e-05/0.5065, allocations: 135.1 kB / 0.5575 GB, free: 6.312 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.5069, allocations: 331.1 kB / 0.5578 GB, free: 5.977 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.5069, allocations: 25.7 kB / 0.5578 GB, free: 5.945 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.5071, allocations: 244.1 kB / 0.558 GB, free: 5.703 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.5071, allocations: 55.55 kB / 0.5581 GB, free: 5.648 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.93e-05/0.5072, allocations: 53.98 kB / 0.5581 GB, free: 5.586 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001554/0.5074, allocations: 346.7 kB / 0.5585 GB, free: 5.238 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.5076, allocations: 80.52 kB / 0.5585 GB, free: 5.16 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.508, allocations: 172.1 kB / 0.5587 GB, free: 4.953 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005416/0.5085, allocations: 251.4 kB / 0.5589 GB, free: 4.668 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.5085, allocations: 0 / 0.5589 GB, free: 4.668 MB / 398.1 MB
Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006917/0.5092, allocations: 321.2 kB / 0.5593 GB, free: 4.348 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.5092, allocations: 8 kB / 0.5593 GB, free: 4.34 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.5092, allocations: 3.938 kB / 0.5593 GB, free: 4.336 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.5093, allocations: 8 kB / 0.5593 GB, free: 4.328 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004394/0.5097, allocations: 92.11 kB / 0.5594 GB, free: 4.238 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.5097, allocations: 4 kB / 0.5594 GB, free: 4.234 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.51, allocations: 51.66 kB / 0.5594 GB, free: 4.184 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.51, allocations: 12 kB / 0.5594 GB, free: 4.172 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 13
 * 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 (34):
 * Single equations (assignments): 34
 * 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 prepare postOptimizeDAE: time 0.0001791/0.5102, allocations: 153.6 kB / 0.5596 GB, free: 4.012 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.5103, allocations: 35.8 kB / 0.5596 GB, free: 3.977 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.385e-05/0.5104, allocations: 30.5 kB / 0.5596 GB, free: 3.945 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.5104, allocations: 8 kB / 0.5596 GB, free: 3.938 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5104, allocations: 0 / 0.5596 GB, free: 3.938 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5104, allocations: 0 / 0.5596 GB, free: 3.938 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009046/0.5113, allocations: 0.5632 MB / 0.5602 GB, free: 3.309 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5113, allocations: 0 / 0.5602 GB, free: 3.309 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.5116, allocations: 60.09 kB / 0.5602 GB, free: 3.25 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5116, allocations: 0 / 0.5602 GB, free: 3.25 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.5116, allocations: 11.94 kB / 0.5603 GB, free: 3.238 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.014e-06/0.5116, allocations: 7.938 kB / 0.5603 GB, free: 3.23 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5116, allocations: 0 / 0.5603 GB, free: 3.23 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006034/0.5122, allocations: 390.8 kB / 0.5606 GB, free: 2.816 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.5123, allocations: 31.75 kB / 0.5607 GB, free: 2.785 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.5123, allocations: 15.92 kB / 0.5607 GB, free: 2.77 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.5126, allocations: 19.92 kB / 0.5607 GB, free: 2.75 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.5126, allocations: 7.984 kB / 0.5607 GB, free: 2.742 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.5127, allocations: 8 kB / 0.5607 GB, free: 2.734 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002427/0.5129, allocations: 231 kB / 0.5609 GB, free: 2.508 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.5129, allocations: 0 / 0.5609 GB, free: 2.508 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.000417/0.5133, allocations: 75.78 kB / 0.561 GB, free: 2.434 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * 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 (15):
 * Single equations (assignments): 15
 * 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.0001225/0.5134, allocations: 107.2 kB / 0.5611 GB, free: 2.32 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005903/0.514, allocations: 187.7 kB / 0.5613 GB, free: 2.137 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.514, allocations: 0.5 kB / 0.5613 GB, free: 2.137 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.5143, allocations: 79.88 kB / 0.5614 GB, free: 2.059 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.5147, allocations: 25.38 kB / 0.5614 GB, free: 2.035 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.5159, allocations: 0.5502 MB / 0.5619 GB, free: 1.441 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.5163, allocations: 0.779 MB / 0.5627 GB, free: 0.6367 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001191/0.5164, allocations: 30.16 kB / 0.5627 GB, free: 0.6055 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.5165, allocations: 23.44 kB / 0.5627 GB, free: 0.582 MB / 398.1 MB
Notification: Performance of SimCode: time 5.61e-07/0.5165, allocations: 0 / 0.5627 GB, free: 0.582 MB / 398.1 MB
Notification: Performance of Templates: time 0.006319/0.5228, allocations: 2.006 MB / 0.5647 GB, free: 14.59 MB / 414.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.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.610361631028354]