Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.001842/0.001842, allocations: 107.2 kB / 19.69 MB, free: 2.199 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.002405/0.002405, allocations: 194.6 kB / 22.98 MB, free: 5.062 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.575/1.575, 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.234/0.234, allocations: 44.23 MB / 330.2 MB, free: 9.555 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.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal")
translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") [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.003236/0.003236, allocations: 79.88 kB / 467.9 MB, free: 4.055 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1526, allocations: 61.02 MB / 0.5165 GB, free: 6.902 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.002136/0.1547, allocations: 0.506 MB / 0.517 GB, free: 6.398 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0007662/0.1555, allocations: 257 kB / 0.5173 GB, free: 6.148 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.1555, allocations: 0 / 0.5173 GB, free: 6.148 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.1555, allocations: 4 kB / 0.5173 GB, free: 6.145 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 7.133e-06/0.1556, allocations: 4 kB / 0.5173 GB, free: 6.141 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.156, allocations: 51.83 kB / 0.5173 GB, free: 6.09 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 6.791e-05/0.156, allocations: 7.969 kB / 0.5174 GB, free: 6.082 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.1561, allocations: 3.938 kB / 0.5174 GB, free: 6.078 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.763e-05/0.1561, allocations: 4 kB / 0.5174 GB, free: 6.074 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 2.415e-05/0.1561, allocations: 0 / 0.5174 GB, free: 6.074 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.586e-06/0.1561, allocations: 0 / 0.5174 GB, free: 6.074 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.1563, allocations: 63.95 kB / 0.5174 GB, free: 6.012 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.616e-06/0.1563, allocations: 0 / 0.5174 GB, free: 6.012 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.1563, allocations: 0 / 0.5174 GB, free: 6.012 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.1565, allocations: 63.8 kB / 0.5175 GB, free: 5.949 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.1565, allocations: 8 kB / 0.5175 GB, free: 5.941 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.274e-06/0.1565, allocations: 3.938 kB / 0.5175 GB, free: 5.938 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.033e-05/0.1565, allocations: 0 / 0.5175 GB, free: 5.938 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.0003962/0.1569, allocations: 276 kB / 0.5178 GB, free: 5.629 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.157, allocations: 12.03 kB / 0.5178 GB, free: 5.617 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.157, allocations: 4.891 kB / 0.5178 GB, free: 5.613 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.502e-05/0.1571, allocations: 102.5 kB / 0.5179 GB, free: 5.488 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1571, allocations: 384 / 0.5179 GB, free: 5.488 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.1571, allocations: 4.375 kB / 0.5179 GB, free: 5.484 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.1572, allocations: 42.25 kB / 0.5179 GB, free: 5.438 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1573, allocations: 4.172 kB / 0.5179 GB, free: 5.434 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1573, allocations: 3.938 kB / 0.5179 GB, free: 5.43 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1573, allocations: 0 / 0.5179 GB, free: 5.43 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.486e-05/0.1573, allocations: 7.938 kB / 0.5179 GB, free: 5.422 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.1575, allocations: 112.8 kB / 0.518 GB, free: 5.27 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 5.224e-05/0.1575, allocations: 18.61 kB / 0.5181 GB, free: 5.242 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.1575, allocations: 12.84 kB / 0.5181 GB, free: 5.227 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.108e-06/0.1575, allocations: 7.938 kB / 0.5181 GB, free: 5.219 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.975e-05/0.1576, allocations: 56.27 kB / 0.5181 GB, free: 5.148 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.1576, allocations: 0 / 0.5181 GB, free: 5.148 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0002488/0.1579, allocations: 67.34 kB / 0.5182 GB, free: 5.07 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.1579, allocations: 77.11 kB / 0.5183 GB, free: 4.977 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.099e-05/0.158, allocations: 93.84 kB / 0.5184 GB, free: 4.875 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.158, allocations: 29.7 kB / 0.5184 GB, free: 4.84 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.1581, allocations: 88.27 kB / 0.5185 GB, free: 4.75 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.1581, allocations: 0 / 0.5185 GB, free: 4.75 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.1581, allocations: 9.719 kB / 0.5185 GB, free: 4.734 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001905/0.1583, allocations: 314.8 kB / 0.5188 GB, free: 4.418 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.1583, allocations: 0 / 0.5188 GB, free: 4.418 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.361e-06/0.1583, allocations: 0 / 0.5188 GB, free: 4.418 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 6.967e-05/0.1584, allocations: 60.27 kB / 0.5188 GB, free: 4.344 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1584, allocations: 0 / 0.5188 GB, free: 4.344 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 9.127e-05/0.1585, allocations: 75.39 kB / 0.5189 GB, free: 4.258 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.247e-05/0.1586, allocations: 29.7 kB / 0.5189 GB, free: 4.223 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1586, allocations: 0 / 0.5189 GB, free: 4.223 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1586, allocations: 3.938 kB / 0.5189 GB, free: 4.219 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.854e-06/0.1586, allocations: 0 / 0.5189 GB, free: 4.219 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.1586, allocations: 4 kB / 0.5189 GB, free: 4.215 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.1586, allocations: 7.938 kB / 0.519 GB, free: 4.207 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1586, allocations: 0 / 0.519 GB, free: 4.207 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.0001074/0.1587, allocations: 135.5 kB / 0.5191 GB, free: 4.059 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.1587, allocations: 8.031 kB / 0.5191 GB, free: 4.051 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.148e-05/0.1588, allocations: 6.938 kB / 0.5191 GB, free: 4.047 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1588, allocations: 3.938 kB / 0.5191 GB, free: 4.043 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1588, allocations: 0 / 0.5191 GB, free: 4.043 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1588, allocations: 0 / 0.5191 GB, free: 4.043 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.1589, allocations: 120.8 kB / 0.5192 GB, free: 3.883 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1589, allocations: 0 / 0.5192 GB, free: 3.883 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-06/0.1589, allocations: 3.984 kB / 0.5192 GB, free: 3.879 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1589, allocations: 0 / 0.5192 GB, free: 3.879 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1589, allocations: 3.938 kB / 0.5192 GB, free: 3.875 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1589, allocations: 4 kB / 0.5192 GB, free: 3.871 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1589, allocations: 0 / 0.5192 GB, free: 3.871 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.159, allocations: 98.7 kB / 0.5193 GB, free: 3.75 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.879e-06/0.159, allocations: 0 / 0.5193 GB, free: 3.75 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.1591, allocations: 7.938 kB / 0.5193 GB, free: 3.742 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.032e-05/0.1591, allocations: 0 / 0.5193 GB, free: 3.742 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.1591, allocations: 0 / 0.5193 GB, free: 3.742 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1591, allocations: 3.984 kB / 0.5193 GB, free: 3.738 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 3.964e-05/0.1591, allocations: 79.31 kB / 0.5194 GB, free: 3.66 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.1591, allocations: 0 / 0.5194 GB, free: 3.66 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.000269/0.1594, allocations: 23.94 kB / 0.5194 GB, free: 3.637 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.0007181/0.1601, allocations: 259.8 kB / 0.5197 GB, free: 3.406 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001301/0.1602, allocations: 59.41 kB / 0.5197 GB, free: 3.336 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.1603, allocations: 3.938 kB / 0.5197 GB, free: 3.332 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.783e-05/0.1603, allocations: 59.41 kB / 0.5198 GB, free: 3.262 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.1605, allocations: 4 kB / 0.5198 GB, free: 3.258 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.1607, allocations: 80.84 kB / 0.5199 GB, free: 3.152 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.1611, allocations: 0.6729 MB / 0.5205 GB, free: 2.453 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 8.967e-06/0.1611, allocations: 0 / 0.5205 GB, free: 2.453 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.1612, allocations: 7.438 kB / 0.5205 GB, free: 2.445 MB / 398.1 MB
Notification: Performance of SimCode: time 1.212e-06/0.1612, allocations: 4.125 kB / 0.5205 GB, free: 2.441 MB / 398.1 MB
Notification: Performance of Templates: time 0.004434/0.1656, allocations: 0.797 MB / 0.5213 GB, free: 1.645 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.107039320282638]