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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 213.5 kB / 22.99 MB, free: 4.605 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.543/1.543, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2425/0.2425, allocations: 44.27 MB / 330.3 MB, free: 9.312 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 75.89 kB / 468 MB, free: 3.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1516, allocations: 61.04 MB / 0.5166 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001654/0.1533, allocations: 0.4948 MB / 0.5171 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.1555, allocations: 1.543 MB / 0.5186 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.1555, allocations: 0 / 0.5186 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.1555, allocations: 0 / 0.5186 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.1555, allocations: 0 / 0.5186 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.1567, allocations: 299.2 kB / 0.5189 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.238e-05/0.1567, allocations: 0 / 0.5189 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.1568, allocations: 4 kB / 0.5189 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.766e-05/0.1568, allocations: 0 / 0.5189 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.661e-05/0.1568, allocations: 3.984 kB / 0.5189 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.622e-06/0.1568, allocations: 0 / 0.5189 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007329/0.1575, allocations: 419 kB / 0.5193 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.1576, allocations: 8 kB / 0.5193 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.1576, allocations: 4 kB / 0.5193 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004965/0.1581, allocations: 303.1 kB / 0.5196 GB, free: 3.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1581, allocations: 0 / 0.5196 GB, free: 3.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1581, allocations: 0 / 0.5196 GB, free: 3.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.1581, allocations: 0 / 0.5196 GB, free: 3.617 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.0004447/0.1586, allocations: 295.7 kB / 0.5199 GB, free: 3.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1586, allocations: 12.03 kB / 0.5199 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.1586, allocations: 0.9375 kB / 0.5199 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.1588, allocations: 106.5 kB / 0.52 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1588, allocations: 384 / 0.52 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.1588, allocations: 8.375 kB / 0.52 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.1589, allocations: 63.7 kB / 0.5201 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.159, allocations: 0 / 0.5201 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.159, allocations: 4 kB / 0.5201 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.159, allocations: 0 / 0.5201 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.271e-05/0.159, allocations: 29.64 kB / 0.5201 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.1592, allocations: 97.33 kB / 0.5202 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.71e-05/0.1592, allocations: 40.28 kB / 0.5202 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.1593, allocations: 42.64 kB / 0.5203 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.1593, allocations: 0 / 0.5203 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.695e-05/0.1594, allocations: 60.27 kB / 0.5203 GB, free: 2.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1594, allocations: 0 / 0.5203 GB, free: 2.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002476/0.1596, allocations: 122.7 kB / 0.5205 GB, free: 2.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/0.1597, allocations: 81.11 kB / 0.5205 GB, free: 2.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.113e-05/0.1598, allocations: 93.86 kB / 0.5206 GB, free: 2.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1598, allocations: 25.7 kB / 0.5206 GB, free: 2.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.1598, allocations: 80.14 kB / 0.5207 GB, free: 2.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.1598, allocations: 3.938 kB / 0.5207 GB, free: 2.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.1599, allocations: 13.72 kB / 0.5207 GB, free: 2.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.16, allocations: 310.8 kB / 0.521 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.154e-05/0.16, allocations: 29.83 kB / 0.5211 GB, free: 1.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.1601, allocations: 29.7 kB / 0.5211 GB, free: 1.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.071e-05/0.1601, allocations: 68.25 kB / 0.5212 GB, free: 1.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1601, allocations: 4 kB / 0.5212 GB, free: 1.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.535e-05/0.1602, allocations: 85.05 kB / 0.5212 GB, free: 1.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.1603, allocations: 33.7 kB / 0.5213 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1603, allocations: 0 / 0.5213 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1603, allocations: 7.922 kB / 0.5213 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.1603, allocations: 0 / 0.5213 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1603, allocations: 4.031 kB / 0.5213 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.751e-05/0.1603, allocations: 4 kB / 0.5213 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.1603, allocations: 4 kB / 0.5213 GB, free: 1.617 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 9.503e-05/0.1604, allocations: 135.5 kB / 0.5214 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.1604, allocations: 3.984 kB / 0.5214 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.383e-05/0.1604, allocations: 10.94 kB / 0.5214 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1604, allocations: 0 / 0.5214 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.1604, allocations: 0 / 0.5214 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1604, allocations: 0 / 0.5214 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.599e-05/0.1605, allocations: 97.31 kB / 0.5215 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1605, allocations: 0 / 0.5215 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-06/0.1605, allocations: 11.94 kB / 0.5215 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1605, allocations: 0 / 0.5215 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.1605, allocations: 0 / 0.5215 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1605, allocations: 3.938 kB / 0.5215 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1605, allocations: 0 / 0.5215 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.1607, allocations: 120.5 kB / 0.5217 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-06/0.1607, allocations: 0 / 0.5217 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.1607, allocations: 4 kB / 0.5217 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.252e-05/0.1607, allocations: 3.938 kB / 0.5217 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.1607, allocations: 0 / 0.5217 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.1607, allocations: 8.031 kB / 0.5217 GB, free: 1.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.758e-05/0.1608, allocations: 75.28 kB / 0.5217 GB, free: 1.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1608, allocations: 0 / 0.5217 GB, free: 1.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003425/0.1611, allocations: 63.8 kB / 0.5218 GB, free: 1.016 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.0004956/0.1616, allocations: 199.6 kB / 0.522 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.1617, allocations: 114.8 kB / 0.5221 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1617, allocations: 0 / 0.5221 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.415e-05/0.1618, allocations: 85.05 kB / 0.5222 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.1619, allocations: 4 kB / 0.5222 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002128/0.1621, allocations: 122.6 kB / 0.5223 GB, free: 428 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.404e-05/0.1622, allocations: 55.48 kB / 0.5224 GB, free: 352 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.907e-06/0.1622, allocations: 7.984 kB / 0.5224 GB, free: 344 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.277e-05/0.1622, allocations: 7.438 kB / 0.5224 GB, free: 336 kB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1622, allocations: 0 / 0.5224 GB, free: 336 kB / 398.1 MB Notification: Performance of Templates: time 0.004538/0.1667, allocations: 1.264 MB / 0.5236 GB, free: 15.07 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.1761887185275555]