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.004185/0.004185, allocations: 99.98 kB / 15.87 MB, free: 6.316 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.001086/0.001086, allocations: 189.9 kB / 16.78 MB, free: 6.242 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.572/1.572, allocations: 205.1 MB / 222.6 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3896/0.3896, allocations: 43.5 MB / 313.5 MB, free: 8.5 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.002325/0.002325, allocations: 63.91 kB / 382 MB, free: 8.754 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1597, allocations: 57.79 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001969/0.1617, allocations: 0.5542 MB / 440.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.1638, allocations: 1.595 MB / 442 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.315e-05/0.1638, allocations: 0 / 442 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.1639, allocations: 0 / 442 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.919e-06/0.1639, allocations: 0 / 442 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007288/0.1646, allocations: 243.5 kB / 442.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.733e-05/0.1647, allocations: 4 kB / 442.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.1647, allocations: 15.92 kB / 442.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.697e-05/0.1647, allocations: 3.984 kB / 442.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.129e-05/0.1648, allocations: 0 / 442.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-06/0.1648, allocations: 0 / 442.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006514/0.1654, allocations: 487 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.465e-06/0.1654, allocations: 0 / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.1655, allocations: 0 / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.1659, allocations: 315.3 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.1659, allocations: 4 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.166, allocations: 0 / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.166, allocations: 0 / 443 MB, free: 11.64 MB / 382.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.0004306/0.1664, allocations: 377.2 kB / 443.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1665, allocations: 8.031 kB / 443.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.1665, allocations: 0.9375 kB / 443.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.1666, allocations: 164.4 kB / 443.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1666, allocations: 4.359 kB / 443.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.1666, allocations: 4.312 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.1668, allocations: 38.02 kB / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1668, allocations: 0 / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1668, allocations: 0 / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1668, allocations: 0 / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.152e-05/0.1668, allocations: 7.938 kB / 443.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.167, allocations: 141.7 kB / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.104e-05/0.167, allocations: 18.66 kB / 443.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.167, allocations: 16.86 kB / 443.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.1671, allocations: 0 / 443.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.1671, allocations: 60.2 kB / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.1671, allocations: 0 / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001669/0.1673, allocations: 63.34 kB / 443.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.1673, allocations: 81.09 kB / 444 MB, free: 10.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.688e-05/0.1674, allocations: 89.86 kB / 444.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1674, allocations: 33.7 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.922e-05/0.1674, allocations: 84.27 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.1674, allocations: 0 / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.1675, allocations: 9.719 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1676, allocations: 314.8 kB / 444.5 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-06/0.1676, allocations: 0 / 444.5 MB, free: 9.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-06/0.1676, allocations: 0 / 444.5 MB, free: 9.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.1677, allocations: 60.27 kB / 444.6 MB, free: 9.844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1677, allocations: 0 / 444.6 MB, free: 9.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.92e-05/0.1677, allocations: 75.39 kB / 444.6 MB, free: 9.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.1678, allocations: 33.64 kB / 444.7 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1678, allocations: 3.984 kB / 444.7 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1678, allocations: 0 / 444.7 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.1678, allocations: 0 / 444.7 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1678, allocations: 4 kB / 444.7 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.668e-05/0.1678, allocations: 0 / 444.7 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.1679, allocations: 3.938 kB / 444.7 MB, free: 9.707 MB / 382.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.736e-05/0.1679, allocations: 139.8 kB / 444.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.168, allocations: 7.938 kB / 444.8 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.211e-05/0.168, allocations: 3.125 kB / 444.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.168, allocations: 0 / 444.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.168, allocations: 0 / 444.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.168, allocations: 4 kB / 444.8 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.279e-05/0.1681, allocations: 153.7 kB / 445 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1681, allocations: 0 / 445 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1681, allocations: 0 / 445 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1681, allocations: 3.938 kB / 445 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.1681, allocations: 3.938 kB / 445 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1681, allocations: 4 kB / 445 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1681, allocations: 0 / 445 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.81e-05/0.1682, allocations: 98.75 kB / 445.1 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.1683, allocations: 81.05 kB / 445.2 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.1683, allocations: 3.938 kB / 445.2 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.236e-05/0.1683, allocations: 4 kB / 445.2 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.1683, allocations: 0 / 445.2 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.1683, allocations: 4.031 kB / 445.2 MB, free: 9.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.554e-05/0.1684, allocations: 75.28 kB / 445.2 MB, free: 9.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1684, allocations: 0 / 445.2 MB, free: 9.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.1687, allocations: 63.98 kB / 445.3 MB, free: 8.961 MB / 382.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.0004294/0.1691, allocations: 190.9 kB / 445.5 MB, free: 8.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.794e-05/0.1692, allocations: 59.39 kB / 445.6 MB, free: 8.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1692, allocations: 0 / 445.6 MB, free: 8.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.59e-05/0.1692, allocations: 59.34 kB / 445.6 MB, free: 8.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.1694, allocations: 7.438 kB / 445.6 MB, free: 8.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001779/0.1696, allocations: 82.83 kB / 445.7 MB, free: 8.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.1698, allocations: 0.6769 MB / 446.4 MB, free: 7.816 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.118e-05/0.1698, allocations: 7.984 kB / 446.4 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.177e-06/0.1699, allocations: 7.438 kB / 446.4 MB, free: 7.801 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1699, allocations: 0 / 446.4 MB, free: 7.801 MB / 382.1 MB Notification: Performance of Templates: time 0.003602/0.1735, allocations: 1.266 MB / 447.7 MB, free: 6.535 MB / 382.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