Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001471/0.001471, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001853/0.001853, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.601/1.601, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2386/0.2386, allocations: 46.96 MB / 360.9 MB, free: 4.02 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 71.83 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3442, allocations: 66.03 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001639/0.3459, allocations: 0.4893 MB / 0.5615 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.3482, allocations: 1.521 MB / 0.563 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.3482, allocations: 0 / 0.563 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.727e-05/0.3482, allocations: 0 / 0.563 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.3483, allocations: 0 / 0.563 GB, free: 2.141 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.000964/0.3492, allocations: 263 kB / 0.5633 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.531e-05/0.3493, allocations: 4 kB / 0.5633 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.3493, allocations: 0 / 0.5633 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.219e-05/0.3493, allocations: 0 / 0.5633 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.481e-05/0.3493, allocations: 0 / 0.5633 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.899e-06/0.3493, allocations: 4 kB / 0.5633 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.3504, allocations: 0.6869 MB / 0.564 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-06/0.3504, allocations: 0 / 0.564 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.676e-05/0.3505, allocations: 0 / 0.564 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009095/0.3514, allocations: 0.6263 MB / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.3514, allocations: 0 / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3514, allocations: 0 / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3514, allocations: 0 / 0.5646 GB, free: 0.5703 MB / 398.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.0005065/0.3519, allocations: 295.8 kB / 0.5648 GB, free: 252 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.3519, allocations: 8.031 kB / 0.5649 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.3519, allocations: 4.938 kB / 0.5649 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.879e-05/0.352, allocations: 110.5 kB / 0.565 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3521, allocations: 384 / 0.565 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.3521, allocations: 384 / 0.565 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.982e-05/0.3522, allocations: 63.72 kB / 0.565 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3522, allocations: 7.922 kB / 0.565 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3522, allocations: 3.984 kB / 0.565 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.3522, allocations: 0 / 0.565 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.88e-05/0.3522, allocations: 25.7 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.3523, allocations: 97.33 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.626e-05/0.3524, allocations: 40.28 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.3525, allocations: 38.66 kB / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.3525, allocations: 0 / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.73e-05/0.3525, allocations: 64.25 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.3525, allocations: 0 / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001889/0.3527, allocations: 118.7 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.3528, allocations: 81.11 kB / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.047e-05/0.3528, allocations: 97.81 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3528, allocations: 29.69 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.3529, allocations: 80.14 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.3529, allocations: 128 / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.3529, allocations: 17.72 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3531, allocations: 310.8 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.439e-05/0.3531, allocations: 25.7 kB / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.228e-05/0.3531, allocations: 29.7 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.414e-05/0.3532, allocations: 68.2 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3532, allocations: 0 / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.997e-05/0.3533, allocations: 85.09 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.3533, allocations: 33.7 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3533, allocations: 4 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3533, allocations: 8.031 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.3533, allocations: 3.938 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3533, allocations: 0 / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/0.3534, allocations: 0 / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.3534, allocations: 4 kB / 0.5662 GB, free: 14.57 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 0.0001184/0.3535, allocations: 139.5 kB / 0.5664 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.3535, allocations: 4 kB / 0.5664 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.501e-05/0.3535, allocations: 6.938 kB / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.3535, allocations: 0 / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3535, allocations: 0 / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3535, allocations: 4 kB / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.761e-05/0.3536, allocations: 93.33 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.3536, allocations: 7.984 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-07/0.3536, allocations: 3.938 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.3536, allocations: 0 / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3536, allocations: 3.938 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3536, allocations: 3.938 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3536, allocations: 0 / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.3537, allocations: 116.5 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-06/0.3537, allocations: 0 / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.3538, allocations: 8.031 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.177e-05/0.3538, allocations: 3.938 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.3538, allocations: 0 / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.3538, allocations: 0 / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.221e-05/0.3538, allocations: 76.3 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3538, allocations: 0 / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004159/0.3542, allocations: 127.9 kB / 0.5668 GB, free: 13.91 MB / 414.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.0007371/0.355, allocations: 171.2 kB / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.3551, allocations: 118.7 kB / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3551, allocations: 0 / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.863e-05/0.3552, allocations: 81.11 kB / 0.5672 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.3553, allocations: 7.938 kB / 0.5672 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002063/0.3555, allocations: 118.8 kB / 0.5673 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.718e-05/0.3556, allocations: 55.34 kB / 0.5673 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.125e-06/0.3556, allocations: 4 kB / 0.5673 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.3556, allocations: 7.438 kB / 0.5674 GB, free: 13.26 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3556, allocations: 0 / 0.5674 GB, free: 13.26 MB / 414.1 MB Notification: Performance of Templates: time 0.007553/0.3632, allocations: 3.934 MB / 0.5712 GB, free: 9.324 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.356063719838858] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.3718810291029513 0.38712068000000005 0.032223890000000005 Calling exit ...