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.002023/0.002023, allocations: 180.1 kB / 16.41 MB, free: 5.707 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.583/1.583, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008675/0.0008673, allocations: 97.05 kB / 270.9 MB, free: 8.352 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.4121/0.4121, allocations: 43.55 MB / 362.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004187, allocations: 16 kB / 431.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1422, allocations: 58.84 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0006596/0.1429, allocations: 224.3 kB / 490.5 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.1449, allocations: 1.494 MB / 491.9 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.16e-05/0.145, allocations: 0 / 491.9 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.213e-05/0.145, allocations: 3.938 kB / 492 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.45e-06/0.145, allocations: 0 / 492 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008181/0.1458, allocations: 195.6 kB / 492.1 MB, free: 9.055 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.545e-05/0.1459, allocations: 4 kB / 492.1 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.1459, allocations: 0 / 492.1 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.209e-05/0.146, allocations: 3.984 kB / 492.1 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.203e-05/0.146, allocations: 11.98 kB / 492.2 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.983e-06/0.146, allocations: 0 / 492.2 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008572/0.1469, allocations: 0.6674 MB / 492.8 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-06/0.1469, allocations: 3.938 kB / 492.8 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.1469, allocations: 25.7 kB / 492.9 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.1474, allocations: 447.3 kB / 493.3 MB, free: 7.895 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1474, allocations: 0 / 493.3 MB, free: 7.895 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1474, allocations: 0 / 493.3 MB, free: 7.895 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1474, allocations: 0 / 493.3 MB, free: 7.895 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.0004884/0.1479, allocations: 373.1 kB / 493.7 MB, free: 7.477 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1479, allocations: 8.031 kB / 493.7 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.148, allocations: 7.953 kB / 493.7 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.436e-05/0.1481, allocations: 159.1 kB / 493.8 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1481, allocations: 3.938 kB / 493.8 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.1481, allocations: 0 / 493.8 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.073e-05/0.1482, allocations: 29.7 kB / 493.9 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.1482, allocations: 0 / 493.9 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1482, allocations: 0 / 493.9 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1482, allocations: 0 / 493.9 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.68e-05/0.1482, allocations: 11.89 kB / 493.9 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.1484, allocations: 149.7 kB / 494 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.537e-05/0.1484, allocations: 18.61 kB / 494 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.379e-05/0.1484, allocations: 4.859 kB / 494 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.1484, allocations: 0 / 494 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.1485, allocations: 60.33 kB / 494.1 MB, free: 6.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1485, allocations: 4 kB / 494.1 MB, free: 6.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001791/0.1487, allocations: 75.23 kB / 494.2 MB, free: 6.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.1487, allocations: 77.11 kB / 494.3 MB, free: 6.727 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.783e-05/0.1488, allocations: 89.86 kB / 494.3 MB, free: 6.629 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.1488, allocations: 25.7 kB / 494.4 MB, free: 6.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.1488, allocations: 80.14 kB / 494.4 MB, free: 6.516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.1489, allocations: 3.984 kB / 494.5 MB, free: 6.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-06/0.1489, allocations: 0 / 494.5 MB, free: 6.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.149, allocations: 318.9 kB / 494.8 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-06/0.1491, allocations: 4 kB / 494.8 MB, free: 6.188 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-06/0.1491, allocations: 3.984 kB / 494.8 MB, free: 6.184 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.747e-05/0.1491, allocations: 25.7 kB / 494.8 MB, free: 6.152 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1491, allocations: 0 / 494.8 MB, free: 6.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.022e-05/0.1492, allocations: 67.34 kB / 494.9 MB, free: 6.074 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.1492, allocations: 29.7 kB / 494.9 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1492, allocations: 4 kB / 494.9 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1493, allocations: 0 / 494.9 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.1493, allocations: 4.094 kB / 494.9 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.1493, allocations: 3.984 kB / 494.9 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/0.1493, allocations: 7.938 kB / 494.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.1493, allocations: 0 / 494.9 MB, free: 6.02 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 0.0001026/0.1494, allocations: 143.5 kB / 495 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-06/0.1494, allocations: 0 / 495 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.193e-05/0.1494, allocations: 3.125 kB / 495.1 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1494, allocations: 3.938 kB / 495.1 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1495, allocations: 0 / 495.1 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1495, allocations: 8 kB / 495.1 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.1496, allocations: 153.6 kB / 495.2 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.1496, allocations: 0 / 495.2 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.1496, allocations: 0 / 495.2 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1496, allocations: 0 / 495.2 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.1496, allocations: 0 / 495.2 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1496, allocations: 4 kB / 495.2 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1496, allocations: 0 / 495.2 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.298e-05/0.1497, allocations: 98.72 kB / 495.3 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.1498, allocations: 81.09 kB / 495.4 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.1498, allocations: 4 kB / 495.4 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-06/0.1498, allocations: 0 / 495.4 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.1498, allocations: 0 / 495.4 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.1498, allocations: 0 / 495.4 MB, free: 5.422 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.734e-05/0.1499, allocations: 75.28 kB / 495.5 MB, free: 5.348 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1499, allocations: 0 / 495.5 MB, free: 5.348 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004153/0.1503, allocations: 124 kB / 495.6 MB, free: 5.227 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.0006659/0.151, allocations: 172.7 kB / 495.8 MB, free: 5.055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.206e-05/0.1511, allocations: 59.39 kB / 495.8 MB, free: 4.984 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1511, allocations: 4.062 kB / 495.8 MB, free: 4.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.808e-05/0.1511, allocations: 55.41 kB / 495.9 MB, free: 4.914 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.1512, allocations: 7.891 kB / 495.9 MB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/0.1515, allocations: 116.3 kB / 496 MB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1518, allocations: 0.6731 MB / 496.7 MB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.001e-05/0.1518, allocations: 7.438 kB / 496.7 MB, free: 4.055 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1518, allocations: 0 / 496.7 MB, free: 4.055 MB / 378.7 MB Notification: Performance of Templates: time 0.004804/0.1566, allocations: 2.684 MB / 499.4 MB, free: 1.367 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)