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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 83.58 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.062/1.062, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3056/0.3056, allocations: 32.81 MB / 294.3 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 376 MB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.473e-05, allocations: 2.312 kB / 376 MB, free: 4.707 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001283/0.001318, allocations: 0.5121 MB / 376.5 MB, free: 4.195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.00351, allocations: 1.557 MB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.003534, allocations: 0 / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.08e-05/0.003554, allocations: 4 kB / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.324e-06/0.003562, allocations: 0 / 378.1 MB, free: 2.613 MB / 346.7 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.0009004/0.004462, allocations: 255.2 kB / 378.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.606e-05/0.004518, allocations: 0 / 378.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.09e-05/0.004569, allocations: 3.984 kB / 378.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.135e-05/0.0046, allocations: 0 / 378.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.131e-05/0.004622, allocations: 4 kB / 378.3 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.925e-06/0.00463, allocations: 0 / 378.3 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007116/0.005341, allocations: 0.6791 MB / 379 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.005353, allocations: 7.938 kB / 379 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.005375, allocations: 4 kB / 379 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006254/0.006, allocations: 0.7486 MB / 379.8 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.006004, allocations: 0 / 379.8 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.006005, allocations: 0 / 379.8 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.006012, allocations: 4 kB / 379.8 MB, free: 0.9102 MB / 346.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.0004322/0.006444, allocations: 385.9 kB / 380.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.006495, allocations: 12.03 kB / 380.2 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.006548, allocations: 4.938 kB / 380.2 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.409e-05/0.006622, allocations: 104.6 kB / 380.3 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.006636, allocations: 8.375 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.00665, allocations: 384 / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.006755, allocations: 55.97 kB / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.006765, allocations: 4.125 kB / 380.3 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.006779, allocations: 4.375 kB / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.006788, allocations: 3.938 kB / 380.3 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.307e-05/0.006811, allocations: 29.69 kB / 380.4 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.76e-05/0.006909, allocations: 112.6 kB / 380.5 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.605e-05/0.006955, allocations: 52.77 kB / 380.5 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.006989, allocations: 37.48 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-06/0.006993, allocations: 4 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.007033, allocations: 59.09 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.007034, allocations: 0 / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.000177/0.007211, allocations: 118.7 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.007255, allocations: 92.98 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.066e-05/0.007305, allocations: 142.2 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.007314, allocations: 25.7 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.007354, allocations: 126.9 kB / 381.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.007374, allocations: 352 / 381.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.0074, allocations: 23.36 kB / 381.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.00754, allocations: 496.2 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.464e-05/0.007565, allocations: 25.7 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.743e-05/0.007582, allocations: 29.7 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.657e-05/0.007639, allocations: 71.03 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007641, allocations: 0 / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.284e-05/0.007704, allocations: 89.05 kB / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.007731, allocations: 33.7 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.007736, allocations: 0 / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.007751, allocations: 0 / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.596e-06/0.007755, allocations: 96 / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.007761, allocations: 7.938 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.425e-05/0.007776, allocations: 4 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.007783, allocations: 3.984 kB / 381.9 MB, free: 14.48 MB / 362.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.0001136/0.007897, allocations: 186.3 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-06/0.007902, allocations: 4 kB / 382.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.091e-05/0.007913, allocations: 3 kB / 382.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.007915, allocations: 0 / 382.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.007919, allocations: 0 / 382.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.007922, allocations: 3.938 kB / 382.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.713e-05/0.007979, allocations: 108.6 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.00798, allocations: 7.938 kB / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.007981, allocations: 0 / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.007981, allocations: 0 / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.007989, allocations: 3.984 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.00799, allocations: 0 / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.00799, allocations: 0 / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.646e-05/0.008077, allocations: 131.8 kB / 382.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-06/0.008082, allocations: 7.922 kB / 382.3 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.008095, allocations: 0 / 382.3 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.5e-06/0.0081, allocations: 4 kB / 382.3 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.008113, allocations: 11.97 kB / 382.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.008116, allocations: 0 / 382.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.253e-05/0.008148, allocations: 123.1 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008148, allocations: 0 / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.008407, allocations: 119.9 kB / 382.6 MB, free: 13.7 MB / 362.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.0005124/0.008919, allocations: 189.2 kB / 382.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.009026, allocations: 118.5 kB / 382.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.009028, allocations: 4 kB / 382.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.989e-05/0.009058, allocations: 88.8 kB / 383 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.609e-05/0.009154, allocations: 4 kB / 383 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002158/0.00937, allocations: 113.6 kB / 383.1 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.013e-05/0.00941, allocations: 55.48 kB / 383.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.763e-06/0.009417, allocations: 0 / 383.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.728e-05/0.009434, allocations: 8.5 kB / 383.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.009435, allocations: 0 / 383.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of Templates: time 0.005155/0.01459, allocations: 4.075 MB / 387.2 MB, free: 8.938 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.245290818158537]