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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 100.8 kB / 15.98 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 191.1 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 222.8 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2436/0.2436, allocations: 43.51 MB / 313.6 MB, free: 0.7148 MB / 254.1 MB 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.002968/0.002968, allocations: 73.84 kB / 382.2 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1593, allocations: 57.8 MB / 440 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.002232/0.1616, allocations: 0.5544 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.1636, allocations: 1.592 MB / 442.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.434e-05/0.1636, allocations: 0 / 442.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.1637, allocations: 0 / 442.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.171e-06/0.1637, allocations: 0 / 442.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008994/0.1646, allocations: 247.5 kB / 442.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.118e-05/0.1647, allocations: 4 kB / 442.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.1647, allocations: 3.984 kB / 442.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.663e-05/0.1648, allocations: 4 kB / 442.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.277e-05/0.1648, allocations: 0 / 442.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.252e-06/0.1648, allocations: 4 kB / 442.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005376/0.1653, allocations: 499 kB / 442.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.198e-06/0.1654, allocations: 0 / 442.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.1654, allocations: 3.938 kB / 442.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.1658, allocations: 311.3 kB / 443.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1658, allocations: 0 / 443.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1658, allocations: 4 kB / 443.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1658, allocations: 0 / 443.2 MB, free: 4.148 MB / 318.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.0003348/0.1661, allocations: 369.3 kB / 443.6 MB, free: 3.734 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1662, allocations: 11.89 kB / 443.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.1662, allocations: 0.9375 kB / 443.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.485e-05/0.1663, allocations: 168.4 kB / 443.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1663, allocations: 384 / 443.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-06/0.1663, allocations: 4.375 kB / 443.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.358e-05/0.1664, allocations: 30.02 kB / 443.8 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1664, allocations: 4 kB / 443.8 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1665, allocations: 0 / 443.8 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1665, allocations: 4 kB / 443.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.414e-05/0.1665, allocations: 3.938 kB / 443.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/0.1666, allocations: 150 kB / 443.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.05e-05/0.1667, allocations: 18.61 kB / 444 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.32e-05/0.1667, allocations: 4.859 kB / 444 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.1667, allocations: 4 kB / 444 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.1668, allocations: 60.2 kB / 444 MB, free: 3.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1668, allocations: 0 / 444 MB, free: 3.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001768/0.167, allocations: 71.39 kB / 444.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.167, allocations: 81.11 kB / 444.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.479e-05/0.1671, allocations: 93.8 kB / 444.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.1671, allocations: 25.7 kB / 444.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.749e-05/0.1671, allocations: 84.14 kB / 444.4 MB, free: 2.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1671, allocations: 8.062 kB / 444.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.1672, allocations: 13.72 kB / 444.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.954e-05/0.1672, allocations: 310.8 kB / 444.7 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.1672, allocations: 0 / 444.7 MB, free: 2.422 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.1672, allocations: 0 / 444.7 MB, free: 2.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.69e-05/0.1673, allocations: 68.25 kB / 444.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1673, allocations: 3.938 kB / 444.8 MB, free: 2.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.315e-05/0.1674, allocations: 67.41 kB / 444.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.1674, allocations: 33.64 kB / 444.9 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1674, allocations: 0 / 444.9 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1674, allocations: 4 kB / 444.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.1674, allocations: 0 / 444.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1674, allocations: 0 / 444.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.36e-05/0.1675, allocations: 3.984 kB / 444.9 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.1675, allocations: 0 / 444.9 MB, free: 2.211 MB / 318.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 7.308e-05/0.1676, allocations: 143.5 kB / 445 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.1676, allocations: 7.969 kB / 445 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.124e-05/0.1676, allocations: 3.125 kB / 445 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.1676, allocations: 0 / 445 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1676, allocations: 0 / 445 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1676, allocations: 3.984 kB / 445 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.57e-05/0.1677, allocations: 153.7 kB / 445.2 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1677, allocations: 0 / 445.2 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.203e-06/0.1677, allocations: 4 kB / 445.2 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1677, allocations: 3.938 kB / 445.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.1677, allocations: 0 / 445.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1677, allocations: 0 / 445.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1678, allocations: 7.938 kB / 445.2 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.441e-05/0.1678, allocations: 90.83 kB / 445.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.1679, allocations: 77.11 kB / 445.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.1679, allocations: 7.938 kB / 445.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-06/0.1679, allocations: 0 / 445.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.1679, allocations: 0 / 445.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.1679, allocations: 3.938 kB / 445.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.902e-05/0.168, allocations: 79.31 kB / 445.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.168, allocations: 0 / 445.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.1683, allocations: 67.98 kB / 445.5 MB, free: 1.461 MB / 318.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.000419/0.1687, allocations: 192.5 kB / 445.7 MB, free: 1.277 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.362e-05/0.1688, allocations: 63.33 kB / 445.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1688, allocations: 0 / 445.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.239e-05/0.1688, allocations: 59.41 kB / 445.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.169, allocations: 4 kB / 445.8 MB, free: 1.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001848/0.1691, allocations: 81.09 kB / 445.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.1693, allocations: 0.6729 MB / 446.6 MB, free: 332 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.903e-06/0.1693, allocations: 0 / 446.6 MB, free: 332 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.139e-05/0.1693, allocations: 7.438 kB / 446.6 MB, free: 324 kB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1693, allocations: 0 / 446.6 MB, free: 324 kB / 318.1 MB Notification: Performance of Templates: time 0.004209/0.1736, allocations: 1.275 MB / 447.9 MB, free: 15.04 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile (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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches