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.001094/0.001094, allocations: 109.4 kB / 18.4 MB, free: 4.715 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.001043/0.001043, allocations: 192 kB / 19.33 MB, free: 3.789 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.361/1.361, allocations: 222.9 MB / 243 MB, free: 15.14 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.1982/0.1982, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 60.69 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1157, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001792/0.1175, allocations: 490.8 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002758/0.1203, allocations: 2.097 MB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.1204, allocations: 0 / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.1204, allocations: 0 / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.589e-06/0.1204, allocations: 4 kB / 473.3 MB, free: 11.07 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.002014/0.1224, allocations: 0.7178 MB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.078e-05/0.1225, allocations: 7.984 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.1225, allocations: 3.984 kB / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.401e-05/0.1226, allocations: 3.938 kB / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.817e-05/0.1226, allocations: 0 / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.541e-06/0.1226, allocations: 0 / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.1247, allocations: 1.506 MB / 475.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.1247, allocations: 0 / 475.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.748e-05/0.1247, allocations: 0 / 475.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.1266, allocations: 1.548 MB / 477.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1266, allocations: 0 / 477.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1266, allocations: 3.938 kB / 477.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1266, allocations: 3.938 kB / 477.1 MB, free: 7.281 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.0007209/0.1273, allocations: 420.2 kB / 477.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1274, allocations: 16.03 kB / 477.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.1274, allocations: 0.9375 kB / 477.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.907e-05/0.1275, allocations: 164.4 kB / 477.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1275, allocations: 384 / 477.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.1275, allocations: 4.125 kB / 477.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.82e-05/0.1276, allocations: 29.7 kB / 477.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.1276, allocations: 0 / 477.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1276, allocations: 0 / 477.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1277, allocations: 0 / 477.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.1277, allocations: 3.938 kB / 477.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.1278, allocations: 153.7 kB / 477.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.901e-05/0.1278, allocations: 22.52 kB / 477.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.1279, allocations: 12.89 kB / 477.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.872e-06/0.1279, allocations: 4 kB / 477.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.1279, allocations: 56.27 kB / 477.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.1279, allocations: 0 / 477.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001578/0.1281, allocations: 71.33 kB / 478 MB, free: 6.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.1282, allocations: 81.11 kB / 478.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.97e-05/0.1282, allocations: 93.8 kB / 478.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.1282, allocations: 25.7 kB / 478.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.1283, allocations: 80.14 kB / 478.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.1283, allocations: 3.906 kB / 478.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.1283, allocations: 13.72 kB / 478.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.1284, allocations: 310.8 kB / 478.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.1284, allocations: 8.125 kB / 478.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-06/0.1284, allocations: 4 kB / 478.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.702e-05/0.1285, allocations: 64.25 kB / 478.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1285, allocations: 4 kB / 478.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.935e-05/0.1286, allocations: 63.28 kB / 478.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.1286, allocations: 33.7 kB / 478.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1286, allocations: 0 / 478.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1286, allocations: 0 / 478.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.1286, allocations: 96 / 478.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1287, allocations: 4 kB / 478.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.1287, allocations: 0 / 478.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1287, allocations: 3.984 kB / 478.8 MB, free: 5.297 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 7.914e-05/0.1288, allocations: 135.5 kB / 478.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.1288, allocations: 7.938 kB / 478.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.889e-06/0.1288, allocations: 3.125 kB / 478.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.1288, allocations: 0 / 478.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1288, allocations: 4 kB / 478.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1288, allocations: 0 / 478.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.319e-05/0.1289, allocations: 149.7 kB / 479.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1289, allocations: 3.938 kB / 479.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.1289, allocations: 0 / 479.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1289, allocations: 0 / 479.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1289, allocations: 4 kB / 479.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.129, allocations: 0 / 479.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.129, allocations: 0 / 479.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.43e-05/0.1291, allocations: 94.77 kB / 479.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.1291, allocations: 88.98 kB / 479.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.1291, allocations: 3.938 kB / 479.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.528e-06/0.1291, allocations: 0 / 479.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/0.1292, allocations: 0 / 479.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.1292, allocations: 3.938 kB / 479.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.304e-05/0.1292, allocations: 79.28 kB / 479.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1292, allocations: 0 / 479.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009267/0.1301, allocations: 272 kB / 479.6 MB, free: 4.355 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.001193/0.1313, allocations: 412.4 kB / 480 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.934e-05/0.1314, allocations: 59.41 kB / 480.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1314, allocations: 0 / 480.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.1315, allocations: 59.34 kB / 480.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.1316, allocations: 3.938 kB / 480.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000191/0.1318, allocations: 84.92 kB / 480.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.132, allocations: 0.669 MB / 480.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.112e-06/0.132, allocations: 128 / 480.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.028e-05/0.1321, allocations: 19.38 kB / 480.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1321, allocations: 0 / 480.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of Templates: time 0.01147/0.1435, allocations: 7.299 MB / 488.2 MB, free: 11.68 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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)