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.001023/0.001023, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009998/0.0009998, allocations: 165 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 0.9907/0.9907, allocations: 177.1 MB / 205 MB, free: 5.301 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.294/0.294, allocations: 32.81 MB / 294.3 MB, free: 1.238 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.363e-06/1.363e-06, allocations: 0 / 376 MB, free: 4.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.631e-05, allocations: 9.344 kB / 376 MB, free: 4.719 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.000998/0.001024, allocations: 0.4969 MB / 376.5 MB, free: 4.219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.002571, allocations: 1.565 MB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.857e-05/0.00259, allocations: 0 / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.002609, allocations: 0 / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.953e-06/0.002616, allocations: 0 / 378.1 MB, free: 2.633 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.0008804/0.003496, allocations: 255.2 kB / 378.3 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.557e-05/0.003542, allocations: 4 kB / 378.3 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.139e-05/0.003573, allocations: 0 / 378.3 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.634e-05/0.003599, allocations: 0 / 378.3 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.965e-05/0.003619, allocations: 7.938 kB / 378.3 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.366e-06/0.003627, allocations: 0 / 378.3 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008512/0.004478, allocations: 0.6868 MB / 379 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.524e-06/0.004486, allocations: 0 / 379 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.802e-05/0.004504, allocations: 4 kB / 379 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005714/0.005075, allocations: 0.7408 MB / 379.8 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.005078, allocations: 4 kB / 379.8 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005078, allocations: 4 kB / 379.8 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.005082, allocations: 0 / 379.8 MB, free: 0.9297 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.0003112/0.005394, allocations: 393.8 kB / 380.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.005429, allocations: 8.031 kB / 380.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.005464, allocations: 0.9375 kB / 380.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.248e-05/0.005517, allocations: 108.6 kB / 380.3 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.005526, allocations: 4.375 kB / 380.3 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.005534, allocations: 384 / 380.3 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.477e-05/0.005618, allocations: 67.95 kB / 380.3 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.005624, allocations: 4.188 kB / 380.3 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.005631, allocations: 384 / 380.3 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.005638, allocations: 3.938 kB / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.654e-05/0.005655, allocations: 25.7 kB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.064e-05/0.005735, allocations: 112.6 kB / 380.5 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.305e-05/0.005778, allocations: 52.7 kB / 380.5 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.00581, allocations: 41.47 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-06/0.005815, allocations: 0 / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.00585, allocations: 63.09 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.005851, allocations: 0 / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001812/0.006033, allocations: 122.8 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.006073, allocations: 81.05 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.413e-05/0.006117, allocations: 142.2 kB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.006126, allocations: 25.7 kB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.006154, allocations: 130.8 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.00617, allocations: 352 / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.006193, allocations: 23.38 kB / 381.1 MB, free: 15.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.006309, allocations: 492.1 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.757e-05/0.006327, allocations: 25.7 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.321e-05/0.00634, allocations: 29.83 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.674e-05/0.006387, allocations: 71.14 kB / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006389, allocations: 0 / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.819e-05/0.006447, allocations: 93.06 kB / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.006471, allocations: 29.7 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.006476, allocations: 7.922 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.006487, allocations: 0 / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.098e-06/0.006491, allocations: 3.938 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.006496, allocations: 3.938 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.05e-05/0.006506, allocations: 4 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.006512, allocations: 4.031 kB / 381.9 MB, free: 14.5 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 6.306e-05/0.006575, allocations: 178.3 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-06/0.00658, allocations: 4 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.953e-06/0.006587, allocations: 3 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.006588, allocations: 0 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.006591, allocations: 0 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.006595, allocations: 7.922 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.877e-05/0.006644, allocations: 116.6 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.006645, allocations: 0 / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.006645, allocations: 0 / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.61e-07/0.006645, allocations: 0 / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.006651, allocations: 4 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.8e-07/0.006651, allocations: 0 / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.006653, allocations: 4 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.937e-05/0.006722, allocations: 131.7 kB / 382.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-06/0.006727, allocations: 7.938 kB / 382.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.006739, allocations: 0 / 382.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.57e-06/0.006745, allocations: 4 kB / 382.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.006755, allocations: 4 kB / 382.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.006756, allocations: 0 / 382.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.561e-05/0.006782, allocations: 123.1 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006782, allocations: 4.031 kB / 382.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000238/0.00702, allocations: 119.9 kB / 382.6 MB, free: 13.71 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.0004575/0.007477, allocations: 187.3 kB / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.695e-05/0.007574, allocations: 114.5 kB / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.007576, allocations: 3.938 kB / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.593e-05/0.007612, allocations: 88.8 kB / 383 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.106e-05/0.007703, allocations: 10.48 kB / 383 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001952/0.007899, allocations: 117.6 kB / 383.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.472e-05/0.007933, allocations: 51.36 kB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.202e-06/0.00794, allocations: 0 / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.348e-05/0.007953, allocations: 8.5 kB / 383.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of SimCode: time 4e-07/0.007953, allocations: 4.125 kB / 383.2 MB, free: 13.03 MB / 362.7 MB Notification: Performance of Templates: time 0.005535/0.01349, allocations: 4.444 MB / 387.6 MB, free: 8.586 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.4286316707730293]