Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001423/0.001423, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001519/0.001519, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.2297/0.2297, allocations: 44.94 MB / 358.8 MB, free: 6.062 MB / 286.1 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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 67.89 kB / 0.4935 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3518, allocations: 65.48 MB / 0.5574 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001664/0.3535, allocations: 493 kB / 0.5579 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008158/0.3616, allocations: 4.576 MB / 0.5624 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.432e-05/0.3616, allocations: 0 / 0.5624 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.323e-05/0.3617, allocations: 0 / 0.5624 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.252e-06/0.3617, allocations: 0 / 0.5624 GB, free: 2.414 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.009219/0.3709, allocations: 3.262 MB / 0.5656 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.696e-05/0.371, allocations: 3.984 kB / 0.5656 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.371, allocations: 4 kB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.913e-05/0.371, allocations: 0 / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.148e-05/0.371, allocations: 0 / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.123e-06/0.3711, allocations: 3.938 kB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03517/0.4062, allocations: 19.81 MB / 0.5849 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.4063, allocations: 4 kB / 0.5849 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.4063, allocations: 4 kB / 0.5849 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04414/0.4504, allocations: 26.12 MB / 0.6104 GB, free: 1.152 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.4504, allocations: 0 / 0.6104 GB, free: 1.152 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4504, allocations: 0 / 0.6104 GB, free: 1.152 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.4504, allocations: 0 / 0.6104 GB, free: 1.152 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.007422/0.4579, allocations: 0.5943 MB / 0.611 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4579, allocations: 11.97 kB / 0.611 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.458, allocations: 0.9375 kB / 0.611 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.4581, allocations: 113.4 kB / 0.6111 GB, free: 380 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.4581, allocations: 4 kB / 0.6111 GB, free: 376 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.4581, allocations: 3.984 kB / 0.6111 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.4582, allocations: 59.39 kB / 0.6112 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4582, allocations: 0 / 0.6112 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.4582, allocations: 0 / 0.6112 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4582, allocations: 0 / 0.6112 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.814e-05/0.4583, allocations: 25.7 kB / 0.6112 GB, free: 268 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.4584, allocations: 101.3 kB / 0.6113 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.861e-05/0.4585, allocations: 56.23 kB / 0.6114 GB, free: 64 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.4585, allocations: 30.56 kB / 0.6114 GB, free: 24 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.4585, allocations: 4 kB / 0.6114 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.797e-05/0.4586, allocations: 56.33 kB / 0.6115 GB, free: 15.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.382e-06/0.4586, allocations: 4 kB / 0.6115 GB, free: 15.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002237/0.4588, allocations: 118.8 kB / 0.6116 GB, free: 15.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.4589, allocations: 81.05 kB / 0.6117 GB, free: 15.71 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.496e-05/0.4589, allocations: 89.86 kB / 0.6117 GB, free: 15.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.4589, allocations: 25.7 kB / 0.6118 GB, free: 15.58 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.459, allocations: 80.14 kB / 0.6118 GB, free: 15.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.459, allocations: 0 / 0.6118 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.459, allocations: 13.72 kB / 0.6119 GB, free: 15.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4592, allocations: 318.9 kB / 0.6122 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.895e-05/0.4592, allocations: 33.7 kB / 0.6122 GB, free: 15.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.536e-05/0.4592, allocations: 29.69 kB / 0.6122 GB, free: 15.08 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.738e-05/0.4593, allocations: 60.27 kB / 0.6123 GB, free: 15.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4593, allocations: 0 / 0.6123 GB, free: 15.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001089/0.4594, allocations: 89.11 kB / 0.6124 GB, free: 14.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/0.4594, allocations: 33.69 kB / 0.6124 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4595, allocations: 3.938 kB / 0.6124 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.4595, allocations: 3.938 kB / 0.6124 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.4595, allocations: 96 / 0.6124 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.4595, allocations: 11.94 kB / 0.6124 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.4595, allocations: 4 kB / 0.6124 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.4595, allocations: 0 / 0.6124 GB, free: 14.84 MB / 462.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 0.0001435/0.4596, allocations: 143.5 kB / 0.6126 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.4597, allocations: 0 / 0.6126 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.343e-05/0.4597, allocations: 3 kB / 0.6126 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4597, allocations: 0 / 0.6126 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4597, allocations: 0 / 0.6126 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.4597, allocations: 0 / 0.6126 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.4598, allocations: 105.2 kB / 0.6127 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4598, allocations: 4 kB / 0.6127 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.4598, allocations: 0 / 0.6127 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4598, allocations: 0 / 0.6127 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.4598, allocations: 0 / 0.6127 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4598, allocations: 0 / 0.6127 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4598, allocations: 0 / 0.6127 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.46, allocations: 128.4 kB / 0.6128 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.46, allocations: 7.938 kB / 0.6128 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.46, allocations: 0 / 0.6128 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-06/0.46, allocations: 0 / 0.6128 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.46, allocations: 32 / 0.6128 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.46, allocations: 8 kB / 0.6128 GB, free: 14.37 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.092e-05/0.4601, allocations: 75.28 kB / 0.6129 GB, free: 14.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4601, allocations: 0 / 0.6129 GB, free: 14.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01262/0.4727, allocations: 3.787 MB / 0.6166 GB, free: 10.5 MB / 462.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.02329/0.496, allocations: 0.9926 MB / 0.6175 GB, free: 9.527 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.4962, allocations: 110.8 kB / 0.6177 GB, free: 9.395 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4962, allocations: 64 / 0.6177 GB, free: 9.395 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.883e-05/0.4963, allocations: 89.05 kB / 0.6177 GB, free: 9.289 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.4964, allocations: 7.938 kB / 0.6177 GB, free: 9.281 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.4968, allocations: 110.8 kB / 0.6178 GB, free: 9.141 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.152e-05/0.4969, allocations: 51.36 kB / 0.6179 GB, free: 9.07 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.612e-06/0.4969, allocations: 0 / 0.6179 GB, free: 9.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.4969, allocations: 11.44 kB / 0.6179 GB, free: 9.059 MB / 462.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4969, allocations: 0 / 0.6179 GB, free: 9.059 MB / 462.1 MB Notification: Performance of Templates: time 0.1793/0.6762, allocations: 112.6 MB / 0.7279 GB, free: 8.254 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 14.39530087262392] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.6853629928082228 0.915293725 0.462224007 Calling exit ...