Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.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.001697/0.001697, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.00142/0.00142, allocations: 210.8 kB / 24.49 MB, free: 3.965 MB / 14.72 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2342/0.2342, allocations: 46.96 MB / 361.6 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00297/0.00297, allocations: 75.89 kB / 0.4973 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3383, allocations: 66.04 MB / 0.5618 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001633/0.3399, allocations: 0.492 MB / 0.5623 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003146/0.3431, allocations: 2.059 MB / 0.5643 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.819e-05/0.3431, allocations: 4 kB / 0.5643 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.159e-05/0.3431, allocations: 0 / 0.5643 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.502e-06/0.3431, allocations: 0 / 0.5643 GB, free: 1.637 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.002093/0.3452, allocations: 0.7668 MB / 0.5651 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.04e-05/0.3453, allocations: 0 / 0.5651 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.3453, allocations: 0 / 0.5651 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.371e-05/0.3453, allocations: 0 / 0.5651 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.806e-05/0.3453, allocations: 4 kB / 0.5651 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.294e-06/0.3453, allocations: 7.922 kB / 0.5651 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.3476, allocations: 1.568 MB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.817e-06/0.3476, allocations: 4 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.3476, allocations: 3.984 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.3493, allocations: 1.546 MB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3493, allocations: 0 / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3493, allocations: 0 / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.3493, allocations: 0 / 0.5681 GB, free: 13.75 MB / 414.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.0005838/0.3499, allocations: 353.5 kB / 0.5685 GB, free: 13.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3499, allocations: 8.031 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.35, allocations: 4.938 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.427e-05/0.3501, allocations: 102.5 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3501, allocations: 384 / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.3501, allocations: 8.125 kB / 0.5686 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.3502, allocations: 55.41 kB / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3502, allocations: 0 / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.3502, allocations: 7.938 kB / 0.5686 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3502, allocations: 3.938 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.242e-05/0.3502, allocations: 29.69 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/0.3503, allocations: 101.3 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.044e-05/0.3504, allocations: 40.28 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.99e-05/0.3504, allocations: 34.56 kB / 0.5688 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.3504, allocations: 4.094 kB / 0.5688 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/0.3505, allocations: 60.2 kB / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3505, allocations: 0 / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001999/0.3507, allocations: 126.7 kB / 0.569 GB, free: 12.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.3507, allocations: 77.11 kB / 0.5691 GB, free: 12.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.967e-05/0.3508, allocations: 93.86 kB / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.3508, allocations: 29.83 kB / 0.5692 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.3508, allocations: 84.14 kB / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.3508, allocations: 0 / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.3509, allocations: 13.7 kB / 0.5693 GB, free: 12.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.351, allocations: 314.8 kB / 0.5696 GB, free: 12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.351, allocations: 25.7 kB / 0.5696 GB, free: 11.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.3511, allocations: 25.7 kB / 0.5696 GB, free: 11.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.747e-05/0.3511, allocations: 68.2 kB / 0.5697 GB, free: 11.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3511, allocations: 0 / 0.5697 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.879e-05/0.3512, allocations: 89.09 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.3512, allocations: 37.73 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3512, allocations: 4 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3512, allocations: 0 / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.3512, allocations: 0 / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3513, allocations: 3.938 kB / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.294e-05/0.3513, allocations: 0 / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.3513, allocations: 0 / 0.5698 GB, free: 11.7 MB / 414.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.937e-05/0.3514, allocations: 143.5 kB / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.3514, allocations: 7.922 kB / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.608e-06/0.3514, allocations: 3 kB / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.3514, allocations: 4 kB / 0.57 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3514, allocations: 4 kB / 0.57 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-06/0.3514, allocations: 0 / 0.57 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.3514, allocations: 0 / 0.57 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-06/0.3514, allocations: 0 / 0.57 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.3514, allocations: 3.938 kB / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001509/0.3516, allocations: 227.7 kB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001715/0.3517, allocations: 266.2 kB / 0.5705 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.918e-05/0.3518, allocations: 25.7 kB / 0.5705 GB, free: 10.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.082e-05/0.3518, allocations: 79.34 kB / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of Backend: time 2.61e-07/0.3518, allocations: 4 kB / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.354, allocations: 489.9 kB / 0.571 GB, free: 10.38 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006278/0.3546, allocations: 0.5794 MB / 0.5716 GB, free: 9.738 MB / 414.1 MB Notification: Performance of Templates: time 0.01405/0.3686, allocations: 7.321 MB / 0.5788 GB, free: 2.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.298717197998485] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.3789885689984658 0.39196599000000004 0.039636859 Calling exit ...