Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.00126/0.00126, allocations: 194 kB / 18.12 MB, free: 5.383 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.441/1.441, allocations: 222.9 MB / 241.8 MB, free: 15.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.224/0.224, allocations: 44.18 MB / 336.1 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.03 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1282, allocations: 60.81 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001715/0.13, allocations: 0.5448 MB / 469 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.1327, allocations: 2.148 MB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.014e-05/0.1328, allocations: 3.938 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.696e-05/0.1328, allocations: 0 / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.339e-06/0.1328, allocations: 0 / 471.2 MB, free: 12.14 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices2b‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.1345, allocations: 0.6506 MB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.853e-05/0.1345, allocations: 0 / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.1346, allocations: 4 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.1346, allocations: 3.984 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.001e-05/0.1346, allocations: 8 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.594e-06/0.1346, allocations: 0 / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.1365, allocations: 1.389 MB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.1365, allocations: 0 / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.1365, allocations: 3.938 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.1382, allocations: 1.54 MB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1382, allocations: 4 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1382, allocations: 0 / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1382, allocations: 0 / 474.8 MB, free: 8.543 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.0006429/0.1388, allocations: 417.2 kB / 475.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1389, allocations: 12.03 kB / 475.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.1389, allocations: 0.9375 kB / 475.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.388e-05/0.139, allocations: 164.3 kB / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.139, allocations: 384 / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.139, allocations: 4.125 kB / 475.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.1392, allocations: 33.7 kB / 475.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.1392, allocations: 0 / 475.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1392, allocations: 0 / 475.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1392, allocations: 0 / 475.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.95e-05/0.1392, allocations: 3.984 kB / 475.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.1393, allocations: 145.7 kB / 475.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.807e-05/0.1394, allocations: 22.52 kB / 475.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.1394, allocations: 8.891 kB / 475.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.1395, allocations: 8 kB / 475.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.1395, allocations: 56.27 kB / 475.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1395, allocations: 0 / 475.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001796/0.1397, allocations: 63.39 kB / 475.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.1398, allocations: 81.11 kB / 475.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.658e-05/0.1398, allocations: 89.86 kB / 475.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.1398, allocations: 29.64 kB / 475.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.1399, allocations: 84.27 kB / 476 MB, free: 7.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.1399, allocations: 3.906 kB / 476 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.1399, allocations: 17.66 kB / 476 MB, free: 7.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.14, allocations: 314.8 kB / 476.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-06/0.1401, allocations: 0 / 476.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-06/0.1401, allocations: 4 kB / 476.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.81e-05/0.1401, allocations: 60.27 kB / 476.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1401, allocations: 4 kB / 476.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.006e-05/0.1402, allocations: 63.41 kB / 476.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.1403, allocations: 41.62 kB / 476.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1403, allocations: 3.984 kB / 476.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1403, allocations: 0 / 476.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.605e-06/0.1403, allocations: 3.938 kB / 476.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1403, allocations: 0 / 476.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/0.1403, allocations: 4 kB / 476.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.1404, allocations: 0 / 476.5 MB, free: 6.562 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.1405, allocations: 135.8 kB / 476.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.1405, allocations: 11.97 kB / 476.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.445e-05/0.1405, allocations: 3.125 kB / 476.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1405, allocations: 3.984 kB / 476.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.1405, allocations: 4 kB / 476.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1405, allocations: 0 / 476.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.56e-05/0.1406, allocations: 141.7 kB / 476.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.1406, allocations: 7.922 kB / 476.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/0.1407, allocations: 0 / 476.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1407, allocations: 0 / 476.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1407, allocations: 4 kB / 476.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1407, allocations: 4 kB / 476.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1407, allocations: 3.984 kB / 476.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.216e-05/0.1408, allocations: 82.84 kB / 476.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.1408, allocations: 88.98 kB / 477 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.1408, allocations: 7.922 kB / 477 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-06/0.1409, allocations: 0 / 477 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.1409, allocations: 0 / 477 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.1409, allocations: 4.016 kB / 477 MB, free: 5.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.12e-05/0.1409, allocations: 83.28 kB / 477.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1409, allocations: 4 kB / 477.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007713/0.1417, allocations: 272 kB / 477.4 MB, free: 5.609 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 (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.001279/0.143, allocations: 410.6 kB / 477.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.346e-05/0.1431, allocations: 55.41 kB / 477.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1431, allocations: 0 / 477.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.33e-05/0.1431, allocations: 59.39 kB / 477.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.1433, allocations: 12.06 kB / 477.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002045/0.1435, allocations: 74.7 kB / 478 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.1437, allocations: 0.6731 MB / 478.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.151e-06/0.1438, allocations: 0 / 478.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.142e-05/0.1438, allocations: 7.438 kB / 478.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1438, allocations: 0 / 478.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of Templates: time 0.01239/0.1562, allocations: 7.414 MB / 486 MB, free: 12.83 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)