Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008418/0.0008421, allocations: 96.94 kB / 16.02 MB, free: 84 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.0008787/0.0008787, allocations: 185.3 kB / 16.92 MB, free: 6.934 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.718/1.718, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.4139/0.4139, allocations: 43.57 MB / 315 MB, free: 9.07 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.0005686/0.0005686, allocations: 12 kB / 384.6 MB, free: 7.875 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1367, allocations: 58.87 MB / 443.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0006724/0.1374, allocations: 224.4 kB / 443.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.1394, allocations: 1.541 MB / 445.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.147e-05/0.1395, allocations: 4 kB / 445.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.1395, allocations: 0 / 445.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.268e-06/0.1395, allocations: 0 / 445.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007739/0.1403, allocations: 203.6 kB / 445.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.471e-05/0.1403, allocations: 0 / 445.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.799e-05/0.1404, allocations: 0 / 445.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.357e-05/0.1404, allocations: 0 / 445.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.291e-05/0.1404, allocations: 3.984 kB / 445.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.228e-06/0.1405, allocations: 4 kB / 445.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009134/0.1414, allocations: 0.6908 MB / 446.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.925e-06/0.1414, allocations: 0 / 446.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.1414, allocations: 25.7 kB / 446.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00069/0.1421, allocations: 0.6434 MB / 446.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1422, allocations: 0 / 446.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1422, allocations: 0 / 446.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1422, allocations: 0 / 446.8 MB, free: 9.543 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.0004457/0.1426, allocations: 369.2 kB / 447.1 MB, free: 9.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1427, allocations: 8.031 kB / 447.1 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.1427, allocations: 4.938 kB / 447.1 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.1428, allocations: 164.4 kB / 447.3 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1429, allocations: 4.312 kB / 447.3 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.1429, allocations: 4.375 kB / 447.3 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.126e-05/0.143, allocations: 34.02 kB / 447.3 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.143, allocations: 0 / 447.3 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.143, allocations: 0 / 447.3 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.143, allocations: 4 kB / 447.4 MB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.798e-05/0.143, allocations: 0 / 447.4 MB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.1432, allocations: 149.7 kB / 447.5 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.453e-05/0.1433, allocations: 22.55 kB / 447.5 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/0.1433, allocations: 4.859 kB / 447.5 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-06/0.1433, allocations: 0 / 447.5 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.1433, allocations: 64.2 kB / 447.6 MB, free: 8.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1433, allocations: 0 / 447.6 MB, free: 8.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002046/0.1436, allocations: 71.36 kB / 447.7 MB, free: 8.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.1436, allocations: 85.05 kB / 447.7 MB, free: 8.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.823e-05/0.1437, allocations: 89.86 kB / 447.8 MB, free: 8.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1437, allocations: 25.7 kB / 447.9 MB, free: 8.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.1437, allocations: 84.12 kB / 447.9 MB, free: 8.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.1438, allocations: 0 / 447.9 MB, free: 8.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.1438, allocations: 13.72 kB / 447.9 MB, free: 8.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1439, allocations: 310.8 kB / 448.3 MB, free: 7.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.1439, allocations: 8.062 kB / 448.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-06/0.144, allocations: 4 kB / 448.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.536e-05/0.144, allocations: 60.27 kB / 448.3 MB, free: 7.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.144, allocations: 0 / 448.3 MB, free: 7.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.284e-05/0.1441, allocations: 67.33 kB / 448.4 MB, free: 7.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.1442, allocations: 37.64 kB / 448.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1442, allocations: 0 / 448.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1442, allocations: 0 / 448.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.1442, allocations: 0 / 448.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1442, allocations: 96 / 448.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.719e-05/0.1442, allocations: 4 kB / 448.4 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.1442, allocations: 4 kB / 448.4 MB, free: 7.609 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 0.0001006/0.1444, allocations: 135.5 kB / 448.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.1444, allocations: 7.922 kB / 448.6 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.55e-05/0.1444, allocations: 3.125 kB / 448.6 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1444, allocations: 4 kB / 448.6 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1444, allocations: 0 / 448.6 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1444, allocations: 0 / 448.6 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.1445, allocations: 145.7 kB / 448.7 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1445, allocations: 4 kB / 448.7 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-06/0.1446, allocations: 4 kB / 448.7 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1446, allocations: 7.875 kB / 448.7 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1446, allocations: 4 kB / 448.7 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1446, allocations: 0 / 448.7 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1446, allocations: 0 / 448.7 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.1447, allocations: 94.77 kB / 448.8 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.1448, allocations: 85.42 kB / 448.9 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1448, allocations: 3.938 kB / 448.9 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-06/0.1448, allocations: 0 / 448.9 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.1448, allocations: 0 / 448.9 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.1448, allocations: 4 kB / 448.9 MB, free: 7.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.629e-05/0.1449, allocations: 75.28 kB / 449 MB, free: 6.934 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1449, allocations: 0 / 449 MB, free: 6.934 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004422/0.1453, allocations: 120 kB / 449.1 MB, free: 6.816 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.0007765/0.1461, allocations: 182.8 kB / 449.3 MB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1462, allocations: 55.41 kB / 449.3 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1462, allocations: 0 / 449.3 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.051e-05/0.1463, allocations: 63.45 kB / 449.4 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.1464, allocations: 4 kB / 449.4 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.1467, allocations: 78.7 kB / 449.5 MB, free: 6.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1469, allocations: 0.6731 MB / 450.2 MB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.032e-05/0.147, allocations: 3.984 kB / 450.2 MB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.959e-06/0.147, allocations: 7.438 kB / 450.2 MB, free: 5.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.147, allocations: 0 / 450.2 MB, free: 5.68 MB / 382.1 MB Notification: Performance of Templates: time 0.007965/0.1549, allocations: 3.904 MB / 454.1 MB, free: 1.77 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1)