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.001809/0.001809, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.002438/0.002438, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.56/1.56, allocations: 177.2 MB / 204.9 MB, free: 8.902 MB / 190.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.212/0.212, allocations: 32.81 MB / 294.1 MB, free: 15.99 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.002335/0.002335, allocations: 71.91 kB / 440.6 MB, free: 9.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2959, allocations: 65.45 MB / 0.4941 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001635/0.2975, allocations: 492.7 kB / 0.4946 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006176/0.3037, allocations: 4.574 MB / 0.4991 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.3037, allocations: 0 / 0.4991 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.3038, allocations: 0 / 0.4991 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.941e-06/0.3038, allocations: 3.938 kB / 0.4991 GB, free: 28.24 MB / 446.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.007776/0.3115, allocations: 3.269 MB / 0.5023 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.006e-05/0.3116, allocations: 0 / 0.5023 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.3116, allocations: 2.688 kB / 0.5023 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.493e-05/0.3116, allocations: 0 / 0.5023 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.84e-05/0.3117, allocations: 0 / 0.5023 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.3117, allocations: 4 kB / 0.5023 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03314/0.3448, allocations: 19.8 MB / 0.5216 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.3448, allocations: 1.594 kB / 0.5216 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.3448, allocations: 0 / 0.5216 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03528/0.3801, allocations: 26.13 MB / 0.5471 GB, free: 2.715 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3801, allocations: 0 / 0.5471 GB, free: 2.715 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3801, allocations: 0 / 0.5471 GB, free: 2.715 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3801, allocations: 0 / 0.5471 GB, free: 2.715 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.007171/0.3873, allocations: 0.5982 MB / 0.5477 GB, free: 2.078 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3874, allocations: 12.03 kB / 0.5477 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.3874, allocations: 4.938 kB / 0.5477 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.301e-05/0.3874, allocations: 113.3 kB / 0.5478 GB, free: 1.926 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3875, allocations: 0 / 0.5478 GB, free: 1.926 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-06/0.3875, allocations: 0 / 0.5478 GB, free: 1.926 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.596e-05/0.3875, allocations: 55.41 kB / 0.5479 GB, free: 1.859 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3876, allocations: 0 / 0.5479 GB, free: 1.859 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.3876, allocations: 0 / 0.5479 GB, free: 1.859 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3876, allocations: 3.984 kB / 0.5479 GB, free: 1.855 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.999e-05/0.3876, allocations: 29.7 kB / 0.5479 GB, free: 1.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.004e-05/0.3877, allocations: 97.27 kB / 0.548 GB, free: 1.695 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.989e-05/0.3877, allocations: 64.17 kB / 0.5481 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.3877, allocations: 30.56 kB / 0.5481 GB, free: 1.578 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-06/0.3877, allocations: 4.062 kB / 0.5481 GB, free: 1.574 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.3877, allocations: 56.27 kB / 0.5482 GB, free: 1.504 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.3877, allocations: 0 / 0.5482 GB, free: 1.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001482/0.3879, allocations: 118.8 kB / 0.5483 GB, free: 1.363 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.3879, allocations: 81.05 kB / 0.5484 GB, free: 1.266 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.689e-05/0.3879, allocations: 89.86 kB / 0.5485 GB, free: 1.168 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.912e-06/0.3879, allocations: 29.7 kB / 0.5485 GB, free: 1.133 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.644e-06/0.388, allocations: 80.14 kB / 0.5486 GB, free: 1.051 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.388, allocations: 4.125 kB / 0.5486 GB, free: 1.047 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.078e-05/0.388, allocations: 9.719 kB / 0.5486 GB, free: 1.031 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.318e-05/0.388, allocations: 318.8 kB / 0.5489 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.388, allocations: 33.69 kB / 0.5489 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-06/0.388, allocations: 29.64 kB / 0.5489 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.758e-05/0.3881, allocations: 60.27 kB / 0.549 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3881, allocations: 0 / 0.549 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.059e-05/0.3881, allocations: 97.09 kB / 0.5491 GB, free: 460 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3881, allocations: 37.64 kB / 0.5491 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3881, allocations: 4.094 kB / 0.5491 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3882, allocations: 0 / 0.5491 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.3882, allocations: 0 / 0.5491 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.3882, allocations: 0 / 0.5491 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.3882, allocations: 0 / 0.5491 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3882, allocations: 0 / 0.5491 GB, free: 412 kB / 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.145e-05/0.3882, allocations: 139.5 kB / 0.5493 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-06/0.3882, allocations: 0 / 0.5493 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.386e-06/0.3882, allocations: 6.984 kB / 0.5493 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3882, allocations: 4 kB / 0.5493 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3882, allocations: 4 kB / 0.5493 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.3883, allocations: 0 / 0.5493 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.273e-05/0.3883, allocations: 97.27 kB / 0.5494 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3883, allocations: 0 / 0.5494 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.3883, allocations: 0 / 0.5494 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3883, allocations: 4 kB / 0.5494 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.3883, allocations: 0 / 0.5494 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.3883, allocations: 3.938 kB / 0.5494 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3883, allocations: 0 / 0.5494 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.3884, allocations: 124.4 kB / 0.5495 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.3884, allocations: 7.938 kB / 0.5495 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.3884, allocations: 8.031 kB / 0.5495 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-06/0.3884, allocations: 0 / 0.5495 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.3884, allocations: 3.984 kB / 0.5495 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.3884, allocations: 0 / 0.5495 GB, free: 15.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.153e-05/0.3885, allocations: 75.28 kB / 0.5496 GB, free: 15.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3885, allocations: 0 / 0.5496 GB, free: 15.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01114/0.3996, allocations: 3.787 MB / 0.5533 GB, free: 12.06 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.01825/0.4179, allocations: 0.9889 MB / 0.5542 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.418, allocations: 114.8 kB / 0.5544 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.418, allocations: 3.938 kB / 0.5544 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.765e-05/0.4181, allocations: 85.09 kB / 0.5544 GB, free: 10.85 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.4182, allocations: 8.625 kB / 0.5544 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002262/0.4185, allocations: 105 kB / 0.5545 GB, free: 10.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.814e-05/0.4185, allocations: 55.36 kB / 0.5546 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.609e-06/0.4185, allocations: 0 / 0.5546 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.4185, allocations: 12.5 kB / 0.5546 GB, free: 10.62 MB / 462.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4185, allocations: 0 / 0.5546 GB, free: 10.62 MB / 462.1 MB Notification: Performance of Templates: time 0.1699/0.5884, allocations: 112.6 MB / 0.6646 GB, free: 9.797 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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 13.177293237997219] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.597575697931461 0.6122864330000001 0.22888623600000002 Calling exit ...