Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.001931/0.001931, allocations: 113.4 kB / 19.69 MB, free: 2.043 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.001614/0.001614, allocations: 194.1 kB / 22.98 MB, free: 4.961 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.562/1.562, 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.226/0.226, allocations: 44.23 MB / 330.2 MB, free: 9.543 MB / 270.1 MB
"
[Timeout remaining time 180]
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.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles")
translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") [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.002217/0.002217, allocations: 82.48 kB / 467.9 MB, free: 4.051 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1351, allocations: 61.03 MB / 0.5166 GB, free: 6.879 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001751/0.1369, allocations: 0.4947 MB / 0.517 GB, free: 6.387 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002441/0.1393, allocations: 1.373 MB / 0.5184 GB, free: 5.008 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.385e-05/0.1393, allocations: 0 / 0.5184 GB, free: 5.008 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.149e-05/0.1393, allocations: 0 / 0.5184 GB, free: 5.008 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.1395, allocations: 7.938 kB / 0.5184 GB, free: 5 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.1407, allocations: 276.3 kB / 0.5187 GB, free: 4.73 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 5.297e-05/0.1407, allocations: 0 / 0.5187 GB, free: 4.73 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.413e-05/0.1408, allocations: 7.984 kB / 0.5187 GB, free: 4.723 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.015e-05/0.1408, allocations: 0 / 0.5187 GB, free: 4.723 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.031e-05/0.1409, allocations: 7.938 kB / 0.5187 GB, free: 4.715 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.424e-06/0.1409, allocations: 0 / 0.5187 GB, free: 4.715 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.004317/0.1452, allocations: 0.7442 MB / 0.5194 GB, free: 4.043 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.1452, allocations: 4 kB / 0.5194 GB, free: 4.039 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.1452, allocations: 0 / 0.5194 GB, free: 4.039 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.1456, allocations: 183.5 kB / 0.5196 GB, free: 3.859 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1456, allocations: 0 / 0.5196 GB, free: 3.859 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.863e-06/0.1456, allocations: 0 / 0.5196 GB, free: 3.859 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.21e-06/0.1456, allocations: 0 / 0.5196 GB, free: 3.859 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: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.0004417/0.146, allocations: 315.7 kB / 0.5199 GB, free: 3.516 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1461, allocations: 12.03 kB / 0.5199 GB, free: 3.504 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.1461, allocations: 4.938 kB / 0.5199 GB, free: 3.5 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1462, allocations: 106.5 kB / 0.52 GB, free: 3.371 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1462, allocations: 8.312 kB / 0.52 GB, free: 3.363 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-06/0.1462, allocations: 384 / 0.52 GB, free: 3.363 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.637e-05/0.1463, allocations: 33.81 kB / 0.52 GB, free: 3.324 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1463, allocations: 4 kB / 0.52 GB, free: 3.32 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.1463, allocations: 0 / 0.52 GB, free: 3.32 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1463, allocations: 4 kB / 0.52 GB, free: 3.316 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.705e-05/0.1464, allocations: 0 / 0.52 GB, free: 3.316 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.1465, allocations: 120.7 kB / 0.5202 GB, free: 3.156 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 5.141e-05/0.1466, allocations: 26.5 kB / 0.5202 GB, free: 3.121 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/0.1466, allocations: 8.953 kB / 0.5202 GB, free: 3.109 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.1466, allocations: 0 / 0.5202 GB, free: 3.109 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.803e-05/0.1467, allocations: 64.2 kB / 0.5203 GB, free: 3.031 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1467, allocations: 0 / 0.5203 GB, free: 3.031 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0001974/0.1469, allocations: 59.41 kB / 0.5203 GB, free: 2.961 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.599e-05/0.147, allocations: 89.09 kB / 0.5204 GB, free: 2.855 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.745e-05/0.1471, allocations: 89.86 kB / 0.5205 GB, free: 2.758 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1471, allocations: 25.7 kB / 0.5205 GB, free: 2.727 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.1471, allocations: 84.14 kB / 0.5206 GB, free: 2.641 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.1471, allocations: 3.953 kB / 0.5206 GB, free: 2.637 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.1472, allocations: 13.97 kB / 0.5206 GB, free: 2.617 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001704/0.1473, allocations: 322.8 kB / 0.5209 GB, free: 2.293 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.1474, allocations: 0 / 0.5209 GB, free: 2.293 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-06/0.1474, allocations: 3.984 kB / 0.5209 GB, free: 2.289 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 7.053e-05/0.1474, allocations: 64.27 kB / 0.521 GB, free: 2.211 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1474, allocations: 3.938 kB / 0.521 GB, free: 2.207 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 8.341e-05/0.1475, allocations: 67.34 kB / 0.521 GB, free: 2.129 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.1476, allocations: 37.64 kB / 0.5211 GB, free: 2.086 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1476, allocations: 4.094 kB / 0.5211 GB, free: 2.082 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.1476, allocations: 3.984 kB / 0.5211 GB, free: 2.078 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.1476, allocations: 0 / 0.5211 GB, free: 2.078 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.1476, allocations: 0 / 0.5211 GB, free: 2.078 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.439e-05/0.1476, allocations: 0 / 0.5211 GB, free: 2.078 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1476, allocations: 3.938 kB / 0.5211 GB, free: 2.074 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 1 (result)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (1):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0001836/0.1478, allocations: 135.5 kB / 0.5212 GB, free: 1.926 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.1478, allocations: 3.938 kB / 0.5212 GB, free: 1.922 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.207e-06/0.1478, allocations: 3.156 kB / 0.5212 GB, free: 1.918 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1478, allocations: 8 kB / 0.5212 GB, free: 1.91 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1478, allocations: 3.984 kB / 0.5212 GB, free: 1.906 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1478, allocations: 0 / 0.5212 GB, free: 1.906 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.1479, allocations: 120.8 kB / 0.5214 GB, free: 1.746 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1479, allocations: 0 / 0.5214 GB, free: 1.746 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.99e-06/0.1479, allocations: 7.938 kB / 0.5214 GB, free: 1.738 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.1479, allocations: 0 / 0.5214 GB, free: 1.738 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1479, allocations: 3.984 kB / 0.5214 GB, free: 1.734 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.1479, allocations: 0 / 0.5214 GB, free: 1.734 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.148, allocations: 4 kB / 0.5214 GB, free: 1.73 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.1481, allocations: 94.83 kB / 0.5215 GB, free: 1.613 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.1481, allocations: 7.938 kB / 0.5215 GB, free: 1.605 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.1481, allocations: 0 / 0.5215 GB, free: 1.605 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.447e-06/0.1481, allocations: 0 / 0.5215 GB, free: 1.605 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.1481, allocations: 7.922 kB / 0.5215 GB, free: 1.598 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.1481, allocations: 0 / 0.5215 GB, free: 1.598 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 3.722e-05/0.1481, allocations: 79.28 kB / 0.5216 GB, free: 1.52 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.1481, allocations: 4.125 kB / 0.5216 GB, free: 1.516 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0003027/0.1484, allocations: 63.86 kB / 0.5216 GB, free: 1.453 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: 1 (result)
 * Number of discrete states: 1 (result)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (1):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0007735/0.1492, allocations: 325.6 kB / 0.5219 GB, free: 1.121 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001565/0.1494, allocations: 63.41 kB / 0.522 GB, free: 1.047 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1494, allocations: 0 / 0.522 GB, free: 1.047 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.738e-05/0.1494, allocations: 55.41 kB / 0.522 GB, free: 0.9805 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.1495, allocations: 4 kB / 0.522 GB, free: 0.9766 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002046/0.1498, allocations: 92.83 kB / 0.5221 GB, free: 0.8594 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.15, allocations: 0.669 MB / 0.5228 GB, free: 168 kB / 398.1 MB
Notification: Performance of simCode: alias equations: time 6.392e-06/0.1501, allocations: 0 / 0.5228 GB, free: 168 kB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.183e-05/0.1501, allocations: 11.56 kB / 0.5228 GB, free: 156 kB / 398.1 MB
Notification: Performance of SimCode: time 3.41e-07/0.1501, allocations: 7.938 kB / 0.5228 GB, free: 148 kB / 398.1 MB
Notification: Performance of Templates: time 0.005327/0.1554, allocations: 1.604 MB / 0.5244 GB, free: 14.54 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.264019752852619]