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.001031/0.001031, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 175.6 kB / 16.56 MB, free: 6.379 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.508/1.508, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.3223/0.3223, allocations: 43.55 MB / 314.5 MB, free: 9.027 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.0004551/0.0004551, allocations: 16 kB / 383.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1186, allocations: 58.85 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0006485/0.1193, allocations: 220.4 kB / 443 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.1213, allocations: 1.534 MB / 444.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.526e-05/0.1213, allocations: 0 / 444.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.027e-05/0.1213, allocations: 0 / 444.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.53e-06/0.1213, allocations: 0 / 444.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006873/0.122, allocations: 227.5 kB / 444.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.962e-05/0.122, allocations: 0 / 444.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.1221, allocations: 0 / 444.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.786e-05/0.1221, allocations: 7.938 kB / 444.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.397e-05/0.1222, allocations: 3.984 kB / 444.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.55e-06/0.1222, allocations: 0 / 444.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005956/0.1228, allocations: 423.2 kB / 445.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.959e-06/0.1228, allocations: 4 kB / 445.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.1228, allocations: 25.7 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.1231, allocations: 211.7 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.1231, allocations: 0 / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1231, allocations: 0 / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1231, allocations: 0 / 445.4 MB, free: 10.66 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.0003069/0.1234, allocations: 369 kB / 445.7 MB, free: 10.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1235, allocations: 12.03 kB / 445.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.1235, allocations: 7.953 kB / 445.7 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.12e-05/0.1236, allocations: 159.1 kB / 445.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1236, allocations: 3.938 kB / 445.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.1236, allocations: 0 / 445.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.367e-05/0.1237, allocations: 37.69 kB / 445.9 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-06/0.1237, allocations: 0 / 445.9 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.1238, allocations: 0 / 445.9 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1238, allocations: 0 / 445.9 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.655e-05/0.1238, allocations: 3.953 kB / 445.9 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.1239, allocations: 153.7 kB / 446.1 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.136e-05/0.1239, allocations: 22.45 kB / 446.1 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.124, allocations: 0 / 446.1 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.124, allocations: 68.34 kB / 446.2 MB, free: 9.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.124, allocations: 3.938 kB / 446.2 MB, free: 9.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001571/0.1242, allocations: 59.39 kB / 446.2 MB, free: 9.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.1242, allocations: 85.23 kB / 446.3 MB, free: 9.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.593e-05/0.1243, allocations: 89.86 kB / 446.4 MB, free: 9.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.1243, allocations: 25.7 kB / 446.4 MB, free: 9.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.1243, allocations: 84.12 kB / 446.5 MB, free: 9.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.1244, allocations: 0 / 446.5 MB, free: 9.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-06/0.1244, allocations: 0 / 446.5 MB, free: 9.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1245, allocations: 318.8 kB / 446.8 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.1245, allocations: 7.938 kB / 446.8 MB, free: 8.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-06/0.1245, allocations: 0 / 446.8 MB, free: 8.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/0.1245, allocations: 29.77 kB / 446.9 MB, free: 8.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1245, allocations: 0 / 446.9 MB, free: 8.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.689e-05/0.1246, allocations: 59.41 kB / 446.9 MB, free: 8.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.831e-05/0.1247, allocations: 33.69 kB / 447 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.1247, allocations: 4 kB / 447 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1247, allocations: 0 / 447 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.1247, allocations: 0 / 447 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1247, allocations: 0 / 447 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.46e-05/0.1248, allocations: 0 / 447 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.1248, allocations: 4.031 kB / 447 MB, free: 8.793 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8e-05/0.1249, allocations: 147.8 kB / 447.1 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-06/0.1249, allocations: 0 / 447.1 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.398e-06/0.1249, allocations: 3.125 kB / 447.1 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1249, allocations: 3.984 kB / 447.1 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1249, allocations: 0 / 447.1 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1249, allocations: 4 kB / 447.1 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.125, allocations: 145.6 kB / 447.3 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.125, allocations: 7.938 kB / 447.3 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/0.125, allocations: 4 kB / 447.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1251, allocations: 0 / 447.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.1251, allocations: 0 / 447.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.1251, allocations: 4 kB / 447.3 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1251, allocations: 0 / 447.3 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.221e-05/0.1252, allocations: 90.78 kB / 447.4 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.1252, allocations: 81.05 kB / 447.5 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.1252, allocations: 7.938 kB / 447.5 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.014e-05/0.1252, allocations: 8.016 kB / 447.5 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.1253, allocations: 0 / 447.5 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.1253, allocations: 3.938 kB / 447.5 MB, free: 8.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.299e-05/0.1253, allocations: 75.28 kB / 447.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1253, allocations: 0 / 447.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.1256, allocations: 67.98 kB / 447.6 MB, free: 8.043 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004525/0.126, allocations: 190.2 kB / 447.8 MB, free: 7.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.54e-05/0.1261, allocations: 59.34 kB / 447.9 MB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1262, allocations: 0 / 447.9 MB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.151e-05/0.1262, allocations: 63.47 kB / 447.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.848e-05/0.1263, allocations: 7.953 kB / 447.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001583/0.1264, allocations: 74.75 kB / 448 MB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.1267, allocations: 0.6731 MB / 448.7 MB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.524e-06/0.1267, allocations: 3.984 kB / 448.7 MB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.956e-06/0.1267, allocations: 7.438 kB / 448.7 MB, free: 6.898 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1267, allocations: 0 / 448.7 MB, free: 6.898 MB / 382.1 MB Notification: Performance of Templates: time 0.003432/0.1301, allocations: 1.246 MB / 449.9 MB, free: 5.652 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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