Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002089/0.002089, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002474/0.002474, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 230.3 MB / 258 MB, free: 8.227 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2428/0.2428, allocations: 46.94 MB / 361.4 MB, free: 4.379 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 87.86 kB / 0.4971 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3545, allocations: 66.03 MB / 0.5616 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001826/0.3564, allocations: 0.4931 MB / 0.5621 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.359, allocations: 1.575 MB / 0.5637 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.359, allocations: 0 / 0.5637 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.094e-05/0.359, allocations: 0 / 0.5637 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.671e-06/0.359, allocations: 0 / 0.5637 GB, free: 2.449 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.0009866/0.36, allocations: 262.8 kB / 0.5639 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.88e-05/0.36, allocations: 7.938 kB / 0.5639 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.3601, allocations: 4 kB / 0.5639 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.64e-05/0.3601, allocations: 0 / 0.5639 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.426e-05/0.3601, allocations: 0 / 0.5639 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.293e-06/0.3601, allocations: 7.984 kB / 0.5639 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.3613, allocations: 0.8039 MB / 0.5647 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.195e-06/0.3613, allocations: 4 kB / 0.5647 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.3613, allocations: 0 / 0.5647 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008141/0.3621, allocations: 0.6537 MB / 0.5653 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3621, allocations: 3.938 kB / 0.5654 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3621, allocations: 0 / 0.5654 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3621, allocations: 0 / 0.5654 GB, free: 0.7148 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.0004554/0.3626, allocations: 295.8 kB / 0.5656 GB, free: 400 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3626, allocations: 12.03 kB / 0.5656 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.3627, allocations: 0.9375 kB / 0.5656 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.734e-05/0.3628, allocations: 106.5 kB / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3628, allocations: 384 / 0.5658 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.3628, allocations: 384 / 0.5658 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.3629, allocations: 38 kB / 0.5658 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3629, allocations: 3.938 kB / 0.5658 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.3629, allocations: 0 / 0.5658 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3629, allocations: 0 / 0.5658 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.127e-05/0.3629, allocations: 3.984 kB / 0.5658 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.3631, allocations: 124.8 kB / 0.5659 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.927e-05/0.3631, allocations: 14.58 kB / 0.5659 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.3632, allocations: 4.859 kB / 0.5659 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5e-06/0.3632, allocations: 4.094 kB / 0.5659 GB, free: 0 / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.92e-05/0.3632, allocations: 64.19 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.3632, allocations: 0 / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002095/0.3635, allocations: 75.33 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.3635, allocations: 77.11 kB / 0.5661 GB, free: 15.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.708e-05/0.3636, allocations: 93.81 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.3636, allocations: 25.7 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.3636, allocations: 80.14 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.3637, allocations: 0 / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.3637, allocations: 17.7 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3639, allocations: 310.8 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.966e-05/0.3639, allocations: 4.125 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.036e-05/0.3639, allocations: 4 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.625e-05/0.364, allocations: 64.2 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.364, allocations: 8 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.229e-05/0.364, allocations: 59.39 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.3641, allocations: 37.64 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3641, allocations: 0 / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3641, allocations: 0 / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.3641, allocations: 0 / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3641, allocations: 8.031 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.571e-05/0.3641, allocations: 0 / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.3641, allocations: 0 / 0.5668 GB, free: 14.98 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.0001254/0.3643, allocations: 140.4 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.3643, allocations: 7.922 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.369e-05/0.3643, allocations: 6.938 kB / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.3643, allocations: 0 / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3643, allocations: 4 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3643, allocations: 0 / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.3644, allocations: 116.8 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.3644, allocations: 0 / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.3644, allocations: 0 / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3644, allocations: 3.938 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3644, allocations: 11.92 kB / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3644, allocations: 0 / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3644, allocations: 0 / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.3645, allocations: 86.84 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-06/0.3645, allocations: 8.016 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.3646, allocations: 3.938 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-06/0.3646, allocations: 0 / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.3646, allocations: 0 / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.3646, allocations: 4 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.466e-05/0.3646, allocations: 76.3 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3646, allocations: 0 / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000433/0.3651, allocations: 123.9 kB / 0.5674 GB, free: 14.31 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.0007626/0.3658, allocations: 161.6 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.3659, allocations: 63.34 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3659, allocations: 64 / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.757e-05/0.366, allocations: 59.41 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.3661, allocations: 11.92 kB / 0.5677 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00019/0.3663, allocations: 80.94 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.3666, allocations: 0.6729 MB / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.651e-06/0.3666, allocations: 0 / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.277e-05/0.3666, allocations: 7.438 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3666, allocations: 0 / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of Templates: time 0.008304/0.3749, allocations: 3.943 MB / 0.5723 GB, free: 9.23 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.370212467387319] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.38363295048475266 0.399182582 0.033992855 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f416b2397b0>