Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.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.001689/0.001689, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.002216/0.002216, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.634/1.634, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2469/0.2469, allocations: 46.92 MB / 357.1 MB, free: 10.33 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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.91 kB / 0.4914 GB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1596, allocations: 65.99 MB / 0.5558 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.002785/0.1624, allocations: 494.7 kB / 0.5563 GB, free: 4.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0146/0.177, allocations: 4.911 MB / 0.5611 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.246e-05/0.177, allocations: 4 kB / 0.5611 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.1771, allocations: 0 / 0.5611 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.175e-06/0.1771, allocations: 0 / 0.5611 GB, free: 15.96 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.01368/0.1907, allocations: 2.931 MB / 0.564 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.595e-05/0.1908, allocations: 3.984 kB / 0.564 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.809e-05/0.1909, allocations: 7.938 kB / 0.564 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.344e-05/0.1909, allocations: 0 / 0.564 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.157e-05/0.1909, allocations: 0 / 0.564 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.345e-06/0.1909, allocations: 0 / 0.564 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04896/0.2399, allocations: 19.57 MB / 0.5831 GB, free: 9.445 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.2399, allocations: 0 / 0.5831 GB, free: 9.445 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.2399, allocations: 11.94 kB / 0.5831 GB, free: 9.434 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3187/0.5586, allocations: 27.47 MB / 0.6099 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.5586, allocations: 1.375 kB / 0.6099 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5586, allocations: 0 / 0.6099 GB, free: 21.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.5586, allocations: 0 / 0.6099 GB, free: 21.5 MB / 446.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.01865/0.5773, allocations: 0.6755 MB / 0.6106 GB, free: 20.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.5773, allocations: 13.56 kB / 0.6106 GB, free: 20.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.5773, allocations: 1.969 kB / 0.6106 GB, free: 20.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.542e-05/0.5774, allocations: 165.5 kB / 0.6108 GB, free: 20.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.5774, allocations: 0.5312 kB / 0.6108 GB, free: 20.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.5774, allocations: 1.375 kB / 0.6108 GB, free: 20.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.688e-05/0.5775, allocations: 32.94 kB / 0.6108 GB, free: 20.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.5775, allocations: 3.094 kB / 0.6108 GB, free: 20.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.5775, allocations: 6.375 kB / 0.6108 GB, free: 20.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.5775, allocations: 0 / 0.6108 GB, free: 20.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.739e-05/0.5775, allocations: 4.188 kB / 0.6108 GB, free: 20.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.929e-05/0.5776, allocations: 150.6 kB / 0.6109 GB, free: 20.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.159e-05/0.5777, allocations: 17.33 kB / 0.611 GB, free: 20.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.773e-05/0.5777, allocations: 8.656 kB / 0.611 GB, free: 20.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.5777, allocations: 1.375 kB / 0.611 GB, free: 20.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.5778, allocations: 62.17 kB / 0.611 GB, free: 20.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.5778, allocations: 0 / 0.611 GB, free: 20.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001806/0.5779, allocations: 62.12 kB / 0.6111 GB, free: 20.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.578, allocations: 82.89 kB / 0.6112 GB, free: 20.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.311e-05/0.578, allocations: 93.11 kB / 0.6113 GB, free: 20.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.578, allocations: 26.55 kB / 0.6113 GB, free: 20.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.086e-05/0.578, allocations: 81.52 kB / 0.6114 GB, free: 20.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.578, allocations: 2.812 kB / 0.6114 GB, free: 20.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.5781, allocations: 12.47 kB / 0.6114 GB, free: 20 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.008e-05/0.5781, allocations: 310.8 kB / 0.6117 GB, free: 19.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.5781, allocations: 2.406 kB / 0.6117 GB, free: 19.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-06/0.5781, allocations: 2.312 kB / 0.6117 GB, free: 19.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.472e-05/0.5782, allocations: 72.84 kB / 0.6117 GB, free: 19.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5782, allocations: 0 / 0.6117 GB, free: 19.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.525e-05/0.5782, allocations: 62.34 kB / 0.6118 GB, free: 19.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.5782, allocations: 32.58 kB / 0.6118 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.5782, allocations: 0.9688 kB / 0.6118 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5783, allocations: 0 / 0.6118 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.5783, allocations: 1.281 kB / 0.6118 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.5783, allocations: 2.312 kB / 0.6118 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.5783, allocations: 0 / 0.6118 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.5783, allocations: 9 kB / 0.6119 GB, free: 19.52 MB / 446.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 4.843e-05/0.5783, allocations: 145.5 kB / 0.612 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-06/0.5783, allocations: 0 / 0.612 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.029e-05/0.5784, allocations: 8.641 kB / 0.612 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.5784, allocations: 0 / 0.612 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5784, allocations: 0 / 0.612 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.5784, allocations: 0 / 0.612 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.205e-05/0.5784, allocations: 151.6 kB / 0.6121 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.5784, allocations: 0 / 0.6121 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-06/0.5784, allocations: 4.531 kB / 0.6121 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.5784, allocations: 1.375 kB / 0.6121 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.5784, allocations: 0 / 0.6121 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.5784, allocations: 0 / 0.6121 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5784, allocations: 3 kB / 0.6122 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.051e-05/0.5785, allocations: 101.1 kB / 0.6122 GB, free: 19.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.5785, allocations: 77.11 kB / 0.6123 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.5785, allocations: 2.062 kB / 0.6123 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.907e-06/0.5785, allocations: 0 / 0.6123 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.5785, allocations: 4.609 kB / 0.6123 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.5785, allocations: 1.375 kB / 0.6123 GB, free: 18.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.006e-05/0.5786, allocations: 75.28 kB / 0.6124 GB, free: 18.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5786, allocations: 2.344 kB / 0.6124 GB, free: 18.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01994/0.5985, allocations: 3.791 MB / 0.6161 GB, free: 17.94 MB / 446.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.04877/0.6473, allocations: 0.9938 MB / 0.6171 GB, free: 17.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.6474, allocations: 55.41 kB / 0.6171 GB, free: 17.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6474, allocations: 4.062 kB / 0.6171 GB, free: 17.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.054e-05/0.6474, allocations: 59.39 kB / 0.6172 GB, free: 16.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.6476, allocations: 11.41 kB / 0.6172 GB, free: 16.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/0.6478, allocations: 75 kB / 0.6173 GB, free: 16.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.311e-05/0.6479, allocations: 0.6729 MB / 0.6179 GB, free: 16.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.14e-06/0.6479, allocations: 0 / 0.6179 GB, free: 16.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.102e-05/0.6479, allocations: 11.44 kB / 0.6179 GB, free: 16.17 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.6479, allocations: 0 / 0.6179 GB, free: 16.17 MB / 446.1 MB Notification: Performance of Templates: time 0.1824/0.8304, allocations: 112.6 MB / 0.7279 GB, free: 15.43 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 14.881963800638914] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.8388487510383129 0.854785828 0.29271345800000004 Calling exit ...