Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008561/0.0008562, allocations: 176.1 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007513/0.0007515, allocations: 82.39 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3246/0.3246, allocations: 43.56 MB / 363.1 MB, free: 52.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004015, allocations: 16 kB / 432 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1292, allocations: 58.85 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0005667/0.1298, allocations: 228.3 kB / 491 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.1325, allocations: 2.048 MB / 493.1 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.76e-05/0.1325, allocations: 0 / 493.1 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.169e-05/0.1325, allocations: 8 kB / 493.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.793e-06/0.1325, allocations: 0 / 493.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.1342, allocations: 0.6316 MB / 493.7 MB, free: 7.977 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.103e-05/0.1342, allocations: 4 kB / 493.7 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.933e-05/0.1343, allocations: 0 / 493.7 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.713e-05/0.1343, allocations: 0 / 493.7 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.92e-05/0.1343, allocations: 3.984 kB / 493.7 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.035e-06/0.1343, allocations: 0 / 493.7 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.1361, allocations: 1.354 MB / 495.1 MB, free: 6.613 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.835e-06/0.1361, allocations: 0 / 495.1 MB, free: 6.613 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.1362, allocations: 29.7 kB / 495.1 MB, free: 6.578 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009308/0.1371, allocations: 1.154 MB / 496.3 MB, free: 5.422 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.1371, allocations: 3.984 kB / 496.3 MB, free: 5.418 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1371, allocations: 4 kB / 496.3 MB, free: 5.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1371, allocations: 3.938 kB / 496.3 MB, free: 5.41 MB / 378.7 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.0005644/0.1377, allocations: 409.3 kB / 496.7 MB, free: 4.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.1377, allocations: 12.03 kB / 496.7 MB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.1378, allocations: 0.9375 kB / 496.7 MB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1379, allocations: 160.4 kB / 496.9 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.1379, allocations: 384 / 496.9 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.138, allocations: 4.125 kB / 496.9 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.1381, allocations: 29.7 kB / 496.9 MB, free: 4.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1381, allocations: 0 / 496.9 MB, free: 4.711 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1381, allocations: 3.938 kB / 496.9 MB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1381, allocations: 4 kB / 496.9 MB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.263e-05/0.1382, allocations: 0 / 496.9 MB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.1383, allocations: 153.7 kB / 497 MB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.062e-05/0.1384, allocations: 18.52 kB / 497.1 MB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.1384, allocations: 8.797 kB / 497.1 MB, free: 4.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/0.1384, allocations: 4.094 kB / 497.1 MB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/0.1385, allocations: 64.25 kB / 497.1 MB, free: 4.383 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1385, allocations: 0 / 497.1 MB, free: 4.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001578/0.1387, allocations: 71.33 kB / 497.2 MB, free: 4.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.1387, allocations: 77.11 kB / 497.3 MB, free: 4.207 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.304e-05/0.1388, allocations: 89.86 kB / 497.4 MB, free: 4.109 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1388, allocations: 29.64 kB / 497.4 MB, free: 4.074 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.458e-05/0.1388, allocations: 80.14 kB / 497.5 MB, free: 3.992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.1388, allocations: 0 / 497.5 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.1388, allocations: 0 / 497.5 MB, free: 3.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.1389, allocations: 319 kB / 497.8 MB, free: 3.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.139, allocations: 4 kB / 497.8 MB, free: 3.668 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-06/0.139, allocations: 3.984 kB / 497.8 MB, free: 3.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.08e-05/0.139, allocations: 64.2 kB / 497.9 MB, free: 3.586 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.139, allocations: 0 / 497.9 MB, free: 3.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.962e-05/0.1391, allocations: 63.34 kB / 497.9 MB, free: 3.512 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.1391, allocations: 33.3 kB / 498 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1391, allocations: 0 / 498 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1392, allocations: 8.078 kB / 498 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.1392, allocations: 0 / 498 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1392, allocations: 0 / 498 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.83e-05/0.1392, allocations: 4 kB / 498 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.1392, allocations: 0 / 498 MB, free: 3.465 MB / 378.7 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 8.12e-05/0.1393, allocations: 135.5 kB / 498.1 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.1393, allocations: 7.938 kB / 498.1 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.098e-05/0.1393, allocations: 3.125 kB / 498.1 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.1393, allocations: 3.984 kB / 498.1 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1393, allocations: 4 kB / 498.1 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1393, allocations: 0 / 498.1 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.817e-05/0.1394, allocations: 146 kB / 498.3 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1395, allocations: 11.94 kB / 498.3 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1395, allocations: 0 / 498.3 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.1395, allocations: 0 / 498.3 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1395, allocations: 0 / 498.3 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1395, allocations: 3.938 kB / 498.3 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1395, allocations: 0 / 498.3 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.1396, allocations: 94.83 kB / 498.4 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.1397, allocations: 81.05 kB / 498.4 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.1397, allocations: 0 / 498.4 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-06/0.1397, allocations: 0 / 498.4 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/0.1397, allocations: 7.938 kB / 498.5 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1397, allocations: 0 / 498.5 MB, free: 2.867 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.108e-05/0.1398, allocations: 83.2 kB / 498.5 MB, free: 2.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1398, allocations: 0 / 498.5 MB, free: 2.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007903/0.1406, allocations: 279.9 kB / 498.8 MB, free: 2.512 MB / 378.7 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.001277/0.1418, allocations: 406.1 kB / 499.2 MB, free: 2.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.142, allocations: 59.34 kB / 499.3 MB, free: 2.043 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.142, allocations: 4 kB / 499.3 MB, free: 2.039 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.918e-05/0.142, allocations: 51.41 kB / 499.3 MB, free: 1.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.1422, allocations: 7.938 kB / 499.3 MB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002283/0.1424, allocations: 108.4 kB / 499.4 MB, free: 1.832 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.1427, allocations: 0.6731 MB / 0.4884 GB, free: 1.133 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.215e-05/0.1427, allocations: 15.5 kB / 0.4884 GB, free: 1.117 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1427, allocations: 0 / 0.4884 GB, free: 1.117 MB / 378.7 MB Notification: Performance of Templates: time 0.2088/0.3516, allocations: 6.74 MB / 0.495 GB, free: 41.02 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches