Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009273/0.0009274, allocations: 96.05 kB / 17 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 184.1 kB / 17.89 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.2 MB / 241.9 MB, free: 116 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2071/0.2071, allocations: 44.26 MB / 337.3 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003433, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1303, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0008767/0.1313, allocations: 213.2 kB / 471.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.1334, allocations: 1.467 MB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.65e-05/0.1334, allocations: 0 / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.1334, allocations: 0 / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.622e-06/0.1334, allocations: 0 / 473.3 MB, free: 12 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices3‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0008452/0.1343, allocations: 199.6 kB / 473.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.103e-05/0.1343, allocations: 0 / 473.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/0.1344, allocations: 0 / 473.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.158e-05/0.1344, allocations: 0 / 473.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.848e-05/0.1345, allocations: 7.922 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.923e-06/0.1345, allocations: 0 / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.1355, allocations: 0.6714 MB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.326e-06/0.1355, allocations: 3.938 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.1356, allocations: 25.7 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004877/0.1361, allocations: 455.3 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1361, allocations: 0 / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1361, allocations: 4 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1361, allocations: 0 / 474.6 MB, free: 10.64 MB / 350.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.0003869/0.1365, allocations: 357.1 kB / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1366, allocations: 8.031 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.1366, allocations: 0 / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.726e-05/0.1367, allocations: 163.1 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1367, allocations: 4 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.1367, allocations: 4 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.175e-05/0.1368, allocations: 33.66 kB / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1368, allocations: 0 / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1369, allocations: 7.938 kB / 475.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1369, allocations: 4 kB / 475.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.609e-05/0.1369, allocations: 0 / 475.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.1371, allocations: 145.7 kB / 475.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.083e-05/0.1371, allocations: 18.61 kB / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.752e-05/0.1371, allocations: 12.84 kB / 475.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.1371, allocations: 4 kB / 475.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/0.1372, allocations: 64.28 kB / 475.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.1372, allocations: 0 / 475.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001834/0.1374, allocations: 67.31 kB / 475.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.1375, allocations: 81.11 kB / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.301e-05/0.1375, allocations: 89.86 kB / 475.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.1375, allocations: 29.64 kB / 475.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.813e-05/0.1376, allocations: 84.27 kB / 475.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.1376, allocations: 4 kB / 475.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-06/0.1376, allocations: 0 / 475.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1378, allocations: 310.8 kB / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.717e-06/0.1378, allocations: 4 kB / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-06/0.1378, allocations: 0 / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.143e-05/0.1378, allocations: 25.7 kB / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1378, allocations: 0 / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.743e-05/0.1379, allocations: 71.39 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.1379, allocations: 29.7 kB / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.138, allocations: 0 / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.138, allocations: 7.953 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.138, allocations: 0 / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.138, allocations: 0 / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.74e-05/0.138, allocations: 0 / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.138, allocations: 3.938 kB / 476.2 MB, free: 8.785 MB / 350.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 0.0001043/0.1381, allocations: 144.1 kB / 476.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-06/0.1382, allocations: 4.031 kB / 476.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.056e-05/0.1382, allocations: 3.125 kB / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1382, allocations: 3.953 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1382, allocations: 0 / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1382, allocations: 0 / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.1383, allocations: 149.7 kB / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1383, allocations: 0 / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.1383, allocations: 0 / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.1383, allocations: 0 / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1383, allocations: 0 / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1383, allocations: 0 / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.1384, allocations: 7.953 kB / 476.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.64e-05/0.1385, allocations: 98.67 kB / 476.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.1385, allocations: 77.11 kB / 476.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.1385, allocations: 4 kB / 476.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-06/0.1386, allocations: 0 / 476.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.1386, allocations: 0 / 476.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.1386, allocations: 3.953 kB / 476.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.119e-05/0.1386, allocations: 87.25 kB / 476.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1386, allocations: 0 / 476.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00047/0.1391, allocations: 120 kB / 476.9 MB, free: 7.988 MB / 350.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.0007332/0.1398, allocations: 180.5 kB / 477.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.14, allocations: 59.41 kB / 477.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.14, allocations: 3.938 kB / 477.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.332e-05/0.14, allocations: 59.39 kB / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.1402, allocations: 1.875 kB / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/0.1404, allocations: 74.7 kB / 477.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.1407, allocations: 0.6733 MB / 477.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.117e-06/0.1407, allocations: 3.984 kB / 477.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.113e-05/0.1407, allocations: 7.438 kB / 478 MB, free: 6.855 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1407, allocations: 0 / 478 MB, free: 6.855 MB / 350.1 MB Notification: Performance of Templates: time 0.007967/0.1487, allocations: 4.134 MB / 482.1 MB, free: 2.715 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1)