Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.0018/0.0018, allocations: 110 kB / 19.69 MB, free: 2.188 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.001511/0.001511, allocations: 188 kB / 22.98 MB, free: 5.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 207.6 MB / 233.7 MB, free: 10 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2501/0.2501, allocations: 44.25 MB / 330.2 MB, free: 9.629 MB / 270.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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.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_3.2.3_ModelicaTest.FluxTubes.Sources")
translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.Sources") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 71.89 kB / 467.9 MB, free: 4.078 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1463, allocations: 61.05 MB / 0.5166 GB, free: 6.898 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004491/0.1508, allocations: 2.645 MB / 0.5192 GB, free: 4.234 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00147/0.1522, allocations: 0.7953 MB / 0.5199 GB, free: 3.43 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.1524, allocations: 8 kB / 0.5199 GB, free: 3.422 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.1526, allocations: 71.36 kB / 0.52 GB, free: 3.352 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.1529, allocations: 95.17 kB / 0.5201 GB, free: 3.258 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.1532, allocations: 119.7 kB / 0.5202 GB, free: 3.141 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005213/0.1537, allocations: 414.5 kB / 0.5206 GB, free: 2.734 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.154, allocations: 99.84 kB / 0.5207 GB, free: 2.633 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.1543, allocations: 167.4 kB / 0.5209 GB, free: 2.469 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.1545, allocations: 171.2 kB / 0.521 GB, free: 2.301 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.1546, allocations: 32 kB / 0.5211 GB, free: 2.27 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.271e-05/0.1546, allocations: 32 kB / 0.5211 GB, free: 2.238 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.294e-05/0.1547, allocations: 75.77 kB / 0.5212 GB, free: 2.164 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.1549, allocations: 183 kB / 0.5213 GB, free: 1.984 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005683/0.1555, allocations: 422.2 kB / 0.5217 GB, free: 1.57 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.1555, allocations: 0 / 0.5217 GB, free: 1.57 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.753e-06/0.1555, allocations: 0 / 0.5217 GB, free: 1.57 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.305e-05/0.1555, allocations: 0 / 0.5217 GB, free: 1.57 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.001296/0.1568, allocations: 0.6028 MB / 0.5223 GB, free: 0.9375 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.1569, allocations: 8.031 kB / 0.5223 GB, free: 0.9297 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.157, allocations: 44.66 kB / 0.5224 GB, free: 0.8867 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005287/0.1575, allocations: 214.8 kB / 0.5226 GB, free: 0.6484 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.1575, allocations: 33.31 kB / 0.5226 GB, free: 0.6172 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.1576, allocations: 28.38 kB / 0.5226 GB, free: 0.5898 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000784/0.1584, allocations: 374.2 kB / 0.523 GB, free: 208 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.1584, allocations: 0 / 0.523 GB, free: 208 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.1584, allocations: 12 kB / 0.523 GB, free: 196 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.1584, allocations: 8 kB / 0.523 GB, free: 188 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007227/0.1591, allocations: 267.8 kB / 0.5233 GB, free: 15.92 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/0.1614, allocations: 1.304 MB / 0.5245 GB, free: 14.53 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/0.162, allocations: 182.6 kB / 0.5247 GB, free: 14.31 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.1622, allocations: 83.45 kB / 0.5248 GB, free: 14.22 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.1622, allocations: 4 kB / 0.5248 GB, free: 14.21 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.1623, allocations: 34.56 kB / 0.5248 GB, free: 14.17 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.1623, allocations: 0 / 0.5248 GB, free: 14.17 MB / 414.1 MB
Notification: Performance of matching and sorting (n=15): time 0.0008525/0.1631, allocations: 253.2 kB / 0.5251 GB, free: 13.92 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.1632, allocations: 136.5 kB / 0.5252 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.1636, allocations: 328.5 kB / 0.5255 GB, free: 13.42 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1637, allocations: 29.77 kB / 0.5256 GB, free: 13.39 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.1639, allocations: 240.2 kB / 0.5258 GB, free: 13.15 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.516e-05/0.1639, allocations: 63.45 kB / 0.5258 GB, free: 13.09 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.164, allocations: 57.94 kB / 0.5259 GB, free: 13.02 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001977/0.1642, allocations: 342.8 kB / 0.5262 GB, free: 12.68 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.1645, allocations: 80.44 kB / 0.5263 GB, free: 12.6 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.1648, allocations: 172.2 kB / 0.5265 GB, free: 12.39 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006109/0.1654, allocations: 254.9 kB / 0.5267 GB, free: 12.11 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1655, allocations: 0 / 0.5267 GB, free: 12.11 MB / 414.1 MB
Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006991/0.1662, allocations: 305.3 kB / 0.527 GB, free: 11.8 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.1662, allocations: 8 kB / 0.527 GB, free: 11.79 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.1662, allocations: 4.547 kB / 0.527 GB, free: 11.79 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.1662, allocations: 4 kB / 0.527 GB, free: 11.79 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.1667, allocations: 91.88 kB / 0.5271 GB, free: 11.7 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.1667, allocations: 11.92 kB / 0.5271 GB, free: 11.68 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.167, allocations: 51.78 kB / 0.5272 GB, free: 11.63 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.167, allocations: 8 kB / 0.5272 GB, free: 11.62 MB / 414.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.0001862/0.1672, allocations: 153.7 kB / 0.5273 GB, free: 11.46 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1673, allocations: 31.81 kB / 0.5273 GB, free: 11.43 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.697e-05/0.1674, allocations: 34.5 kB / 0.5274 GB, free: 11.39 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.1674, allocations: 3.984 kB / 0.5274 GB, free: 11.39 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.1674, allocations: 4 kB / 0.5274 GB, free: 11.39 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.1674, allocations: 0 / 0.5274 GB, free: 11.39 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008648/0.1682, allocations: 0.5594 MB / 0.5279 GB, free: 10.76 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1682, allocations: 4 kB / 0.5279 GB, free: 10.76 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.1685, allocations: 63.88 kB / 0.528 GB, free: 10.7 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1685, allocations: 160 / 0.528 GB, free: 10.7 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.1686, allocations: 11.94 kB / 0.528 GB, free: 10.68 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1686, allocations: 0 / 0.528 GB, free: 10.68 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.1686, allocations: 4 kB / 0.528 GB, free: 10.68 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006253/0.1692, allocations: 390.7 kB / 0.5284 GB, free: 10.27 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.1692, allocations: 39.73 kB / 0.5284 GB, free: 10.23 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.1693, allocations: 7.938 kB / 0.5284 GB, free: 10.22 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.1695, allocations: 19.97 kB / 0.5285 GB, free: 10.2 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.1696, allocations: 15.98 kB / 0.5285 GB, free: 10.18 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1696, allocations: 4 kB / 0.5285 GB, free: 10.18 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002636/0.1699, allocations: 231 kB / 0.5287 GB, free: 9.953 MB / 414.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.1699, allocations: 0 / 0.5287 GB, free: 9.953 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003978/0.1703, allocations: 67.89 kB / 0.5288 GB, free: 9.887 MB / 414.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.0001483/0.1704, allocations: 103.2 kB / 0.5289 GB, free: 9.777 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005802/0.171, allocations: 184.1 kB / 0.529 GB, free: 9.598 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.171, allocations: 4 kB / 0.529 GB, free: 9.594 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.1712, allocations: 76.58 kB / 0.5291 GB, free: 9.52 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.1717, allocations: 37.36 kB / 0.5291 GB, free: 9.484 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.1727, allocations: 0.5575 MB / 0.5297 GB, free: 8.883 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005865/0.1733, allocations: 0.7714 MB / 0.5304 GB, free: 8.086 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.000102/0.1734, allocations: 22.02 kB / 0.5305 GB, free: 8.062 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.875e-05/0.1735, allocations: 27.44 kB / 0.5305 GB, free: 8.035 MB / 414.1 MB
Notification: Performance of SimCode: time 5.21e-07/0.1735, allocations: 0 / 0.5305 GB, free: 8.035 MB / 414.1 MB
Notification: Performance of Templates: time 0.006281/0.1798, allocations: 1.998 MB / 0.5324 GB, free: 6.039 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.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.799363498575985]