Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002264/0.002264, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002865/0.002865, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.759/1.759, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3783/0.3783, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 377.2 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.642e-05, allocations: 7.719 kB / 377.2 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.00154/0.001567, allocations: 0.4944 MB / 377.7 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008794/0.01036, allocations: 4.654 MB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.681e-05/0.01038, allocations: 11.94 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.01039, allocations: 0 / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.179e-06/0.0104, allocations: 0 / 382.3 MB, free: 13.75 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.008316/0.01871, allocations: 3.259 MB / 385.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.574e-05/0.01876, allocations: 3.984 kB / 385.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.048e-05/0.01879, allocations: 0 / 385.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.313e-05/0.01882, allocations: 11.92 kB / 385.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.476e-05/0.01884, allocations: 0 / 385.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.231e-06/0.01884, allocations: 0 / 385.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03497/0.05381, allocations: 19.8 MB / 405.4 MB, free: 6.648 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.05382, allocations: 0 / 405.4 MB, free: 6.648 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.05385, allocations: 8 kB / 405.4 MB, free: 6.641 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05123/0.1051, allocations: 30.71 MB / 436.1 MB, free: 7.883 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1051, allocations: 0 / 436.1 MB, free: 7.883 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1051, allocations: 0 / 436.1 MB, free: 7.883 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.361e-06/0.1051, allocations: 0 / 436.1 MB, free: 7.883 MB / 410.7 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.007032/0.1121, allocations: 0.6978 MB / 436.8 MB, free: 7.141 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1122, allocations: 12.02 kB / 436.8 MB, free: 7.129 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.1122, allocations: 0.9375 kB / 436.8 MB, free: 7.129 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.937e-05/0.1123, allocations: 108.6 kB / 437 MB, free: 6.996 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1123, allocations: 8.109 kB / 437 MB, free: 6.988 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.1123, allocations: 0 / 437 MB, free: 6.988 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.1124, allocations: 59.41 kB / 437 MB, free: 6.918 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1124, allocations: 3.938 kB / 437 MB, free: 6.914 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.1125, allocations: 0 / 437 MB, free: 6.914 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1125, allocations: 0 / 437 MB, free: 6.914 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.635e-05/0.1125, allocations: 29.7 kB / 437.1 MB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.1126, allocations: 116.6 kB / 437.2 MB, free: 6.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.799e-05/0.1127, allocations: 52.8 kB / 437.2 MB, free: 6.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.837e-05/0.1128, allocations: 37.33 kB / 437.3 MB, free: 6.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.1128, allocations: 0 / 437.3 MB, free: 6.613 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.888e-05/0.1128, allocations: 63.16 kB / 437.3 MB, free: 6.535 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.1128, allocations: 4 kB / 437.3 MB, free: 6.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002396/0.1131, allocations: 126.7 kB / 437.4 MB, free: 6.383 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.1131, allocations: 77.11 kB / 437.5 MB, free: 6.289 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.1132, allocations: 142.2 kB / 437.7 MB, free: 6.137 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.1132, allocations: 29.7 kB / 437.7 MB, free: 6.102 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.1133, allocations: 126.9 kB / 437.8 MB, free: 5.973 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.1133, allocations: 7.891 kB / 437.8 MB, free: 5.965 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.1134, allocations: 23.31 kB / 437.8 MB, free: 5.934 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002845/0.1137, allocations: 0.4884 MB / 438.3 MB, free: 5.434 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.1137, allocations: 25.83 kB / 438.4 MB, free: 5.402 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.312e-05/0.1137, allocations: 29.7 kB / 438.4 MB, free: 5.367 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.872e-05/0.1138, allocations: 67.03 kB / 438.4 MB, free: 5.285 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1138, allocations: 4 kB / 438.5 MB, free: 5.281 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001171/0.1139, allocations: 93.03 kB / 438.5 MB, free: 5.172 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.1139, allocations: 33.7 kB / 438.6 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1139, allocations: 0 / 438.6 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.114, allocations: 0 / 438.6 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.114, allocations: 0 / 438.6 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.114, allocations: 0 / 438.6 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.114, allocations: 4.094 kB / 438.6 MB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.114, allocations: 4 kB / 438.6 MB, free: 5.125 MB / 410.7 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.0001386/0.1141, allocations: 178.3 kB / 438.8 MB, free: 4.934 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.1141, allocations: 11.92 kB / 438.8 MB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.506e-06/0.1142, allocations: 3 kB / 438.8 MB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1142, allocations: 0 / 438.8 MB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1142, allocations: 0 / 438.8 MB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1142, allocations: 0 / 438.8 MB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.1143, allocations: 112.6 kB / 438.9 MB, free: 4.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1143, allocations: 0 / 438.9 MB, free: 4.777 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1143, allocations: 7.938 kB / 438.9 MB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1143, allocations: 3.938 kB / 438.9 MB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.1143, allocations: 0 / 438.9 MB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1143, allocations: 0 / 438.9 MB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.1143, allocations: 7.969 kB / 438.9 MB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.1144, allocations: 127.9 kB / 439 MB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-06/0.1144, allocations: 0 / 439 MB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.1145, allocations: 7.922 kB / 439 MB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.254e-05/0.1145, allocations: 4 kB / 439 MB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.1145, allocations: 0 / 439 MB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1145, allocations: 4 kB / 439 MB, free: 4.582 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.323e-05/0.1145, allocations: 123.2 kB / 439.2 MB, free: 4.461 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1145, allocations: 0 / 439.2 MB, free: 4.461 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01184/0.1264, allocations: 3.791 MB / 443 MB, free: 0.668 MB / 410.7 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.1594/0.2858, allocations: 1.056 MB / 444 MB, free: 89.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.286, allocations: 128.3 kB / 444.1 MB, free: 89.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.286, allocations: 0 / 444.1 MB, free: 89.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.699e-05/0.286, allocations: 92.58 kB / 444.2 MB, free: 89.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.2862, allocations: 5.25 kB / 444.2 MB, free: 89.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001881/0.2863, allocations: 117.5 kB / 444.3 MB, free: 89.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.597e-05/0.2864, allocations: 57.27 kB / 444.4 MB, free: 89.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.44e-06/0.2864, allocations: 6.688 kB / 444.4 MB, free: 89.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.534e-05/0.2864, allocations: 11.19 kB / 444.4 MB, free: 89.26 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.2864, allocations: 3.5 kB / 444.4 MB, free: 89.26 MB / 410.7 MB Notification: Performance of Templates: time 0.1374/0.4238, allocations: 116.9 MB / 0.5481 GB, free: 15.9 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 13.071223933948204]