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.001758/0.001758, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 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.001972/0.001972, allocations: 201.8 kB / 25.13 MB, free: 3.578 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.427/1.427, allocations: 230.4 MB / 258.7 MB, free: 8.043 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.2319/0.2319, allocations: 46.93 MB / 362 MB, free: 4.227 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-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.002364/0.002364, allocations: 75.86 kB / 0.4978 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3484, allocations: 66.09 MB / 0.5623 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001617/0.35, allocations: 496.5 kB / 0.5628 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.3522, allocations: 1.575 MB / 0.5643 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.172e-05/0.3522, allocations: 0 / 0.5643 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.258e-05/0.3522, allocations: 4 kB / 0.5643 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.3522, allocations: 3.938 kB / 0.5643 GB, free: 2.148 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.000993/0.3532, allocations: 255.3 kB / 0.5646 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.723e-05/0.3533, allocations: 0 / 0.5646 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.357e-05/0.3533, allocations: 0 / 0.5646 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.493e-05/0.3533, allocations: 4 kB / 0.5646 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.897e-05/0.3534, allocations: 4 kB / 0.5646 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.789e-06/0.3534, allocations: 4 kB / 0.5646 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.3544, allocations: 0.6868 MB / 0.5653 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.165e-06/0.3544, allocations: 0 / 0.5653 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.3544, allocations: 4 kB / 0.5653 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007505/0.3552, allocations: 0.6223 MB / 0.5659 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.3552, allocations: 0 / 0.5659 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3552, allocations: 0 / 0.5659 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3552, allocations: 0 / 0.5659 GB, free: 0.5781 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.0004882/0.3557, allocations: 291.9 kB / 0.5661 GB, free: 264 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3557, allocations: 8.031 kB / 0.5662 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.3558, allocations: 4.938 kB / 0.5662 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.736e-05/0.3558, allocations: 106.5 kB / 0.5663 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.3558, allocations: 384 / 0.5663 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.3559, allocations: 384 / 0.5663 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.356, allocations: 67.64 kB / 0.5663 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.356, allocations: 0 / 0.5663 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.356, allocations: 0 / 0.5663 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.356, allocations: 0 / 0.5663 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.813e-05/0.356, allocations: 29.7 kB / 0.5664 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.3562, allocations: 120.8 kB / 0.5665 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.213e-05/0.3563, allocations: 48.3 kB / 0.5665 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.3563, allocations: 34.5 kB / 0.5666 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.3563, allocations: 0 / 0.5666 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/0.3564, allocations: 68.2 kB / 0.5666 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.3564, allocations: 0 / 0.5666 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002103/0.3566, allocations: 115 kB / 0.5667 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.3566, allocations: 85.11 kB / 0.5668 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.464e-05/0.3567, allocations: 97.75 kB / 0.5669 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.3567, allocations: 25.7 kB / 0.5669 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.3567, allocations: 80.14 kB / 0.567 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.3567, allocations: 4 kB / 0.567 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.3568, allocations: 13.72 kB / 0.567 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3569, allocations: 310.8 kB / 0.5673 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.3569, allocations: 29.69 kB / 0.5673 GB, free: 14.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.796e-05/0.357, allocations: 37.58 kB / 0.5674 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.454e-05/0.357, allocations: 64.27 kB / 0.5674 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.357, allocations: 0 / 0.5674 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.378e-05/0.3571, allocations: 85.11 kB / 0.5675 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.3571, allocations: 37.62 kB / 0.5676 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3571, allocations: 4 kB / 0.5676 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3572, allocations: 0 / 0.5676 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.3572, allocations: 0 / 0.5676 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.3572, allocations: 4.094 kB / 0.5676 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.341e-05/0.3572, allocations: 0 / 0.5676 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.3572, allocations: 0 / 0.5676 GB, free: 14.55 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.0001076/0.3573, allocations: 136.4 kB / 0.5677 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.3573, allocations: 11.88 kB / 0.5677 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.542e-05/0.3573, allocations: 6.984 kB / 0.5677 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3573, allocations: 3.984 kB / 0.5677 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3573, allocations: 0 / 0.5677 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3573, allocations: 0 / 0.5677 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.3574, allocations: 120.8 kB / 0.5678 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3574, allocations: 0 / 0.5678 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3574, allocations: 0 / 0.5678 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3574, allocations: 3.938 kB / 0.5678 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3574, allocations: 4 kB / 0.5678 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.3574, allocations: 0 / 0.5678 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3574, allocations: 0 / 0.5678 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.3576, allocations: 112.5 kB / 0.5679 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-06/0.3576, allocations: 8.031 kB / 0.568 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.3576, allocations: 7.922 kB / 0.568 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.295e-06/0.3576, allocations: 0 / 0.568 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.3576, allocations: 0 / 0.568 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3576, allocations: 7.938 kB / 0.568 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.287e-05/0.3577, allocations: 76.3 kB / 0.568 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3577, allocations: 3.938 kB / 0.568 GB, free: 13.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003985/0.3581, allocations: 119.9 kB / 0.5682 GB, free: 13.86 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.0007238/0.3588, allocations: 184.2 kB / 0.5683 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.3589, allocations: 110.8 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3589, allocations: 4 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.535e-05/0.359, allocations: 85.16 kB / 0.5685 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.3591, allocations: 4 kB / 0.5685 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002072/0.3593, allocations: 110.7 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.3596, allocations: 0.669 MB / 0.5693 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.041e-06/0.3596, allocations: 0 / 0.5693 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.777e-05/0.3596, allocations: 11.42 kB / 0.5693 GB, free: 12.58 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3596, allocations: 0 / 0.5693 GB, free: 12.58 MB / 414.1 MB Notification: Performance of Templates: time 0.007087/0.3667, allocations: 3.935 MB / 0.5731 GB, free: 8.641 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 -s gbode -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: 4.997894998872653] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.375062980921939 0.38846900199999995 0.030357508000000002 Calling exit ...