Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3.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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000875/0.000875, allocations: 173.2 kB / 16.72 MB, free: 5.078 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.276/1.276, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007256/0.0007255, allocations: 92.34 kB / 271.2 MB, free: 8.242 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.349/0.349, allocations: 43.57 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003818, allocations: 15.98 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1298, allocations: 58.84 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.000634/0.1305, allocations: 228.3 kB / 491 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.1324, allocations: 1.494 MB / 492.5 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.817e-05/0.1325, allocations: 0 / 492.5 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.1325, allocations: 0 / 492.5 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.568e-06/0.1325, allocations: 4 kB / 492.5 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007966/0.1333, allocations: 191.6 kB / 492.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.3e-05/0.1334, allocations: 4 kB / 492.7 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.1334, allocations: 3.938 kB / 492.7 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.593e-05/0.1334, allocations: 0 / 492.7 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.403e-05/0.1335, allocations: 3.984 kB / 492.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.052e-06/0.1335, allocations: 7.938 kB / 492.7 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000889/0.1344, allocations: 0.6753 MB / 493.4 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.125e-06/0.1344, allocations: 0 / 493.4 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.1344, allocations: 25.7 kB / 493.4 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.1349, allocations: 447.3 kB / 493.9 MB, free: 7.805 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1349, allocations: 0 / 493.9 MB, free: 7.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1349, allocations: 0 / 493.9 MB, free: 7.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1349, allocations: 0 / 493.9 MB, free: 7.805 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.0004328/0.1353, allocations: 361.3 kB / 494.2 MB, free: 7.398 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1354, allocations: 12.03 kB / 494.2 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.1354, allocations: 0.9375 kB / 494.2 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.799e-05/0.1355, allocations: 160.4 kB / 494.4 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1355, allocations: 4.359 kB / 494.4 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.1356, allocations: 4.312 kB / 494.4 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.559e-05/0.1356, allocations: 38 kB / 494.4 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1357, allocations: 3.938 kB / 494.4 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.1357, allocations: 0 / 494.4 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1357, allocations: 0 / 494.4 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.603e-05/0.1357, allocations: 8 kB / 494.5 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.1358, allocations: 145.7 kB / 494.6 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.461e-05/0.1359, allocations: 14.58 kB / 494.6 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.1359, allocations: 12.94 kB / 494.6 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.1359, allocations: 0 / 494.6 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.376e-05/0.136, allocations: 60.2 kB / 494.7 MB, free: 6.824 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.314e-06/0.136, allocations: 0 / 494.7 MB, free: 6.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001644/0.1361, allocations: 79.23 kB / 494.8 MB, free: 6.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.1362, allocations: 81.09 kB / 494.8 MB, free: 6.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.074e-05/0.1362, allocations: 89.86 kB / 494.9 MB, free: 6.539 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.1363, allocations: 25.7 kB / 495 MB, free: 6.508 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.603e-05/0.1363, allocations: 84.14 kB / 495 MB, free: 6.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.1363, allocations: 0 / 495 MB, free: 6.422 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/0.1363, allocations: 0 / 495 MB, free: 6.422 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1365, allocations: 310.8 kB / 495.3 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-06/0.1365, allocations: 4.125 kB / 495.3 MB, free: 6.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-06/0.1365, allocations: 0 / 495.3 MB, free: 6.105 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.791e-05/0.1365, allocations: 68.2 kB / 495.4 MB, free: 6.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1366, allocations: 0 / 495.4 MB, free: 6.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.249e-05/0.1366, allocations: 63.39 kB / 495.5 MB, free: 5.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.1367, allocations: 37.08 kB / 495.5 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1367, allocations: 3.938 kB / 495.5 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1367, allocations: 4 kB / 495.5 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.535e-06/0.1367, allocations: 8.094 kB / 495.5 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1367, allocations: 0 / 495.5 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.1367, allocations: 0 / 495.5 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1367, allocations: 0 / 495.5 MB, free: 5.895 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.836e-05/0.1368, allocations: 139.5 kB / 495.7 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-06/0.1369, allocations: 7.922 kB / 495.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.004e-05/0.1369, allocations: 3.125 kB / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1369, allocations: 0 / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1369, allocations: 3.938 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1369, allocations: 4 kB / 495.7 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.92e-05/0.137, allocations: 145.7 kB / 495.8 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.137, allocations: 0 / 495.8 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.137, allocations: 0 / 495.8 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.137, allocations: 7.922 kB / 495.8 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.137, allocations: 3.938 kB / 495.8 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.137, allocations: 0 / 495.8 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.137, allocations: 0 / 495.8 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.482e-05/0.1371, allocations: 90.84 kB / 495.9 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.1372, allocations: 81.09 kB / 496 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.1372, allocations: 7.938 kB / 496 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-06/0.1372, allocations: 0 / 496 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.1372, allocations: 0 / 496 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.1372, allocations: 0 / 496 MB, free: 5.301 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.281e-05/0.1373, allocations: 75.28 kB / 496.1 MB, free: 5.227 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1373, allocations: 0 / 496.1 MB, free: 5.227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003691/0.1376, allocations: 124 kB / 496.2 MB, free: 5.105 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.0006537/0.1383, allocations: 179.2 kB / 496.4 MB, free: 4.926 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.445e-05/0.1384, allocations: 59.34 kB / 496.4 MB, free: 4.855 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1384, allocations: 64 / 496.4 MB, free: 4.855 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.864e-05/0.1384, allocations: 67.34 kB / 496.5 MB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.1386, allocations: 7.922 kB / 496.5 MB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001763/0.1387, allocations: 104.4 kB / 496.6 MB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.139, allocations: 0.6692 MB / 497.3 MB, free: 3.941 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.377e-06/0.139, allocations: 7.438 kB / 497.3 MB, free: 3.938 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.139, allocations: 0 / 497.3 MB, free: 3.938 MB / 378.7 MB Notification: Performance of Templates: time 0.004241/0.1432, allocations: 2.692 MB / 500 MB, free: 1.242 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices3.pipe 2>&1)