Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.00131/0.00131, allocations: 111.3 kB / 19.69 MB, free: 2.055 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.001405/0.001405, allocations: 190.5 kB / 22.98 MB, free: 4.953 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.54/1.54, allocations: 207.6 MB / 233.7 MB, free: 10.02 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.289/0.289, allocations: 44.24 MB / 330.2 MB, free: 9.562 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.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices")
translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") [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.002236/0.002236, allocations: 75.81 kB / 467.9 MB, free: 4.082 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1436, allocations: 61.04 MB / 0.5166 GB, free: 6.906 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.002229/0.1458, allocations: 0.5018 MB / 0.5171 GB, free: 6.406 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002774/0.1486, allocations: 1.617 MB / 0.5186 GB, free: 4.77 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 1.908e-05/0.1486, allocations: 4 kB / 0.5186 GB, free: 4.766 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.1486, allocations: 0 / 0.5186 GB, free: 4.766 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 6.131e-06/0.1486, allocations: 0 / 0.5186 GB, free: 4.766 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.1499, allocations: 291.2 kB / 0.5189 GB, free: 4.48 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 5.441e-05/0.1499, allocations: 4 kB / 0.5189 GB, free: 4.477 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.15, allocations: 0 / 0.5189 GB, free: 4.477 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.011e-05/0.15, allocations: 3.984 kB / 0.5189 GB, free: 4.473 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 2.301e-05/0.15, allocations: 8 kB / 0.5189 GB, free: 4.465 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.771e-06/0.15, allocations: 0 / 0.5189 GB, free: 4.465 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.151, allocations: 0.5964 MB / 0.5195 GB, free: 3.867 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.097e-06/0.151, allocations: 0 / 0.5195 GB, free: 3.867 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.1511, allocations: 3.984 kB / 0.5195 GB, free: 3.863 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000612/0.1517, allocations: 327.1 kB / 0.5198 GB, free: 3.543 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1517, allocations: 0 / 0.5198 GB, free: 3.543 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.084e-06/0.1517, allocations: 0 / 0.5198 GB, free: 3.543 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.706e-06/0.1517, allocations: 8 kB / 0.5198 GB, free: 3.535 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.0004835/0.1522, allocations: 287.8 kB / 0.5201 GB, free: 3.219 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1522, allocations: 12.03 kB / 0.5201 GB, free: 3.207 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.1523, allocations: 0.9375 kB / 0.5201 GB, free: 3.207 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.1524, allocations: 110.5 kB / 0.5202 GB, free: 3.074 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1524, allocations: 384 / 0.5202 GB, free: 3.074 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.1524, allocations: 8.359 kB / 0.5202 GB, free: 3.066 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.1525, allocations: 33.95 kB / 0.5203 GB, free: 3.027 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1525, allocations: 4 kB / 0.5203 GB, free: 3.023 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1525, allocations: 0 / 0.5203 GB, free: 3.023 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1525, allocations: 0 / 0.5203 GB, free: 3.023 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.565e-05/0.1526, allocations: 4 kB / 0.5203 GB, free: 3.02 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.1527, allocations: 116.8 kB / 0.5204 GB, free: 2.863 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 5.327e-05/0.1528, allocations: 22.61 kB / 0.5204 GB, free: 2.832 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 2.614e-05/0.1528, allocations: 4.859 kB / 0.5204 GB, free: 2.824 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.1528, allocations: 0 / 0.5204 GB, free: 2.824 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.092e-05/0.1529, allocations: 64.2 kB / 0.5205 GB, free: 2.746 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1529, allocations: 3.938 kB / 0.5205 GB, free: 2.742 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0002258/0.1531, allocations: 63.45 kB / 0.5205 GB, free: 2.668 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/0.1532, allocations: 85.05 kB / 0.5206 GB, free: 2.566 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/0.1532, allocations: 93.86 kB / 0.5207 GB, free: 2.465 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1533, allocations: 25.7 kB / 0.5207 GB, free: 2.434 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.1533, allocations: 84.08 kB / 0.5208 GB, free: 2.348 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.1533, allocations: 128 / 0.5208 GB, free: 2.348 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.1534, allocations: 17.72 kB / 0.5208 GB, free: 2.324 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001429/0.1535, allocations: 310.8 kB / 0.5211 GB, free: 2.012 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.005e-05/0.1535, allocations: 0 / 0.5211 GB, free: 2.012 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.1535, allocations: 0 / 0.5211 GB, free: 2.012 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 6.78e-05/0.1536, allocations: 72.19 kB / 0.5212 GB, free: 1.926 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1536, allocations: 0 / 0.5212 GB, free: 1.926 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 8.889e-05/0.1537, allocations: 59.41 kB / 0.5213 GB, free: 1.855 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.1537, allocations: 37.73 kB / 0.5213 GB, free: 1.812 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1537, allocations: 0 / 0.5213 GB, free: 1.812 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1537, allocations: 0 / 0.5213 GB, free: 1.812 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.1537, allocations: 4 kB / 0.5213 GB, free: 1.809 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.1537, allocations: 3.984 kB / 0.5213 GB, free: 1.805 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.1538, allocations: 3.938 kB / 0.5213 GB, free: 1.801 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1538, allocations: 0 / 0.5213 GB, free: 1.801 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.0001139/0.1539, allocations: 135.5 kB / 0.5214 GB, free: 1.652 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.1539, allocations: 3.938 kB / 0.5214 GB, free: 1.648 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.247e-05/0.1539, allocations: 7 kB / 0.5214 GB, free: 1.645 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.1539, allocations: 0 / 0.5214 GB, free: 1.645 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1539, allocations: 4 kB / 0.5215 GB, free: 1.641 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1539, allocations: 0 / 0.5215 GB, free: 1.641 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.154, allocations: 124.8 kB / 0.5216 GB, free: 1.477 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1541, allocations: 0 / 0.5216 GB, free: 1.477 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.1541, allocations: 0 / 0.5216 GB, free: 1.477 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1541, allocations: 7.875 kB / 0.5216 GB, free: 1.469 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1541, allocations: 0 / 0.5216 GB, free: 1.469 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1541, allocations: 0 / 0.5216 GB, free: 1.469 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1541, allocations: 4 kB / 0.5216 GB, free: 1.465 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.1542, allocations: 90.83 kB / 0.5217 GB, free: 1.352 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.091e-06/0.1542, allocations: 0 / 0.5217 GB, free: 1.352 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1542, allocations: 7.938 kB / 0.5217 GB, free: 1.344 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.059e-05/0.1542, allocations: 0 / 0.5217 GB, free: 1.344 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.1543, allocations: 3.938 kB / 0.5217 GB, free: 1.34 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.1543, allocations: 0 / 0.5217 GB, free: 1.34 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 4.686e-05/0.1543, allocations: 75.28 kB / 0.5218 GB, free: 1.266 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.1543, allocations: 4.031 kB / 0.5218 GB, free: 1.262 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0003946/0.1547, allocations: 63.8 kB / 0.5218 GB, free: 1.199 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.0005683/0.1553, allocations: 199.6 kB / 0.522 GB, free: 0.9961 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.000123/0.1554, allocations: 63.33 kB / 0.5221 GB, free: 0.9219 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1554, allocations: 0 / 0.5221 GB, free: 0.9219 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.73e-05/0.1554, allocations: 55.41 kB / 0.5221 GB, free: 0.8555 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.1556, allocations: 3.938 kB / 0.5221 GB, free: 0.8516 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/0.1558, allocations: 88.94 kB / 0.5222 GB, free: 0.7383 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.1561, allocations: 0.6808 MB / 0.5229 GB, free: 32 kB / 398.1 MB
Notification: Performance of simCode: alias equations: time 7.284e-06/0.1561, allocations: 0 / 0.5229 GB, free: 32 kB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.1561, allocations: 7.438 kB / 0.5229 GB, free: 24 kB / 398.1 MB
Notification: Performance of SimCode: time 7.12e-07/0.1561, allocations: 0 / 0.5229 GB, free: 24 kB / 398.1 MB
Notification: Performance of Templates: time 0.005121/0.1613, allocations: 1.272 MB / 0.5241 GB, free: 14.75 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.225867889821529]