Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008607/0.0008605, allocations: 94.77 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008661/0.0008663, allocations: 205.9 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2083/0.2083, allocations: 46.19 MB / 345.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002426/0.0002427, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1102, allocations: 63.56 MB / 483.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0006458/0.1109, allocations: 217.2 kB / 483.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.1129, allocations: 1.558 MB / 484.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.879e-06/0.113, allocations: 0 / 484.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.04e-05/0.113, allocations: 0 / 484.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.798e-06/0.113, allocations: 0 / 484.8 MB, free: 2.34 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0007363/0.1137, allocations: 202.9 kB / 485 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.452e-05/0.1138, allocations: 7.984 kB / 485.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.1138, allocations: 0 / 485.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.83e-05/0.1138, allocations: 4 kB / 485.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.841e-05/0.1139, allocations: 3.938 kB / 485.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.833e-06/0.1139, allocations: 7.984 kB / 485.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.1149, allocations: 0.6908 MB / 485.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.804e-06/0.1149, allocations: 0 / 485.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.115, allocations: 25.7 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006524/0.1156, allocations: 0.6473 MB / 486.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1156, allocations: 4 kB / 486.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1156, allocations: 0 / 486.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1157, allocations: 3.938 kB / 486.4 MB, free: 0.7422 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.000401/0.1161, allocations: 359.9 kB / 486.8 MB, free: 348 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1161, allocations: 16.86 kB / 486.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.1161, allocations: 0.9375 kB / 486.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.576e-05/0.1162, allocations: 164.4 kB / 487 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1163, allocations: 384 / 487 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.1163, allocations: 384 / 487 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.015e-05/0.1164, allocations: 41.95 kB / 487 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.1164, allocations: 0 / 487 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.1164, allocations: 0 / 487 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1164, allocations: 0 / 487 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.836e-05/0.1164, allocations: 7.938 kB / 487 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.1166, allocations: 145.7 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.5e-05/0.1166, allocations: 18.61 kB / 487.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.231e-05/0.1166, allocations: 4.859 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-06/0.1166, allocations: 0 / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.1167, allocations: 68.27 kB / 487.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.1167, allocations: 0 / 487.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001696/0.1169, allocations: 71.33 kB / 487.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.1169, allocations: 77.11 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.014e-05/0.117, allocations: 89.86 kB / 487.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.117, allocations: 25.7 kB / 487.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.117, allocations: 80.14 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.117, allocations: 4 kB / 487.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.1171, allocations: 9.719 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1172, allocations: 314.8 kB / 487.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-06/0.1172, allocations: 4.125 kB / 487.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/0.1172, allocations: 3.984 kB / 487.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.428e-05/0.1173, allocations: 60.27 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1173, allocations: 0 / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.761e-05/0.1174, allocations: 67.34 kB / 488 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.1174, allocations: 35.98 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1174, allocations: 0 / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1174, allocations: 7.984 kB / 488.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.1174, allocations: 96 / 488.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1174, allocations: 4 kB / 488.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.736e-05/0.1175, allocations: 4 kB / 488.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1175, allocations: 0 / 488.1 MB, free: 14.82 MB / 366.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 8.166e-05/0.1176, allocations: 131.5 kB / 488.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.1176, allocations: 7.938 kB / 488.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.646e-06/0.1176, allocations: 3.125 kB / 488.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1176, allocations: 0 / 488.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1176, allocations: 3.938 kB / 488.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1176, allocations: 7.938 kB / 488.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.1177, allocations: 145.7 kB / 488.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1177, allocations: 0 / 488.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1177, allocations: 4 kB / 488.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1178, allocations: 3.938 kB / 488.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.1178, allocations: 0 / 488.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1178, allocations: 0 / 488.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1178, allocations: 0 / 488.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.85e-05/0.1179, allocations: 102.8 kB / 488.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.1179, allocations: 85 kB / 488.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.118, allocations: 3.938 kB / 488.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-06/0.118, allocations: 0 / 488.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.118, allocations: 4 kB / 488.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.118, allocations: 0 / 488.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.854e-05/0.118, allocations: 75.28 kB / 488.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.118, allocations: 0 / 488.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004152/0.1184, allocations: 120 kB / 488.8 MB, free: 14.04 MB / 366.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.0007108/0.1192, allocations: 183.8 kB / 488.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.587e-05/0.1193, allocations: 59.39 kB / 489 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1193, allocations: 8.062 kB / 489 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.294e-05/0.1193, allocations: 55.34 kB / 489.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.1195, allocations: 4 kB / 489.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001833/0.1196, allocations: 82.64 kB / 489.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.1199, allocations: 0.677 MB / 489.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.651e-06/0.1199, allocations: 0 / 489.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.047e-05/0.12, allocations: 7.438 kB / 489.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.12, allocations: 0 / 489.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of Templates: time 0.007395/0.1274, allocations: 3.9 MB / 493.7 MB, free: 8.977 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1)