Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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.001613/0.001613, allocations: 113.1 kB / 21.85 MB, free: 68 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.001853/0.001853, allocations: 214.2 kB / 25.13 MB, free: 3.582 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.473/1.473, allocations: 230.2 MB / 258.5 MB, free: 8.273 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 46.89 MB / 361.8 MB, free: 4.559 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 75.88 kB / 0.4974 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3409, allocations: 66.04 MB / 0.5619 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001737/0.3426, allocations: 0.4931 MB / 0.5623 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003421/0.346, allocations: 2.164 MB / 0.5645 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.608e-05/0.3461, allocations: 3.938 kB / 0.5645 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.314e-05/0.3461, allocations: 0 / 0.5645 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.998e-06/0.3461, allocations: 4 kB / 0.5645 GB, free: 1.961 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.3481, allocations: 0.7509 MB / 0.5652 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.221e-05/0.3481, allocations: 7.984 kB / 0.5652 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.24e-05/0.3481, allocations: 3.984 kB / 0.5652 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.238e-05/0.3482, allocations: 0 / 0.5652 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.329e-05/0.3482, allocations: 0 / 0.5652 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.438e-06/0.3482, allocations: 0 / 0.5652 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.3506, allocations: 1.572 MB / 0.5667 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.3506, allocations: 0 / 0.5667 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.3506, allocations: 4 kB / 0.5667 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.3523, allocations: 1.558 MB / 0.5683 GB, free: 14.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3523, allocations: 0 / 0.5683 GB, free: 14.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3523, allocations: 0 / 0.5683 GB, free: 14.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3523, allocations: 0 / 0.5683 GB, free: 14.07 MB / 414.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.0005664/0.3529, allocations: 339.4 kB / 0.5686 GB, free: 13.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3529, allocations: 12.03 kB / 0.5686 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.3529, allocations: 4.938 kB / 0.5686 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.848e-05/0.353, allocations: 106.5 kB / 0.5687 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3531, allocations: 384 / 0.5687 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.3531, allocations: 4.375 kB / 0.5687 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.344e-05/0.3532, allocations: 30.02 kB / 0.5687 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.3532, allocations: 0 / 0.5687 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.3532, allocations: 0 / 0.5687 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.3532, allocations: 3.984 kB / 0.5687 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.104e-05/0.3532, allocations: 19.88 kB / 0.5688 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.3533, allocations: 116.8 kB / 0.5689 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.853e-05/0.3534, allocations: 22.59 kB / 0.5689 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.394e-05/0.3534, allocations: 4.859 kB / 0.5689 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.3534, allocations: 0 / 0.5689 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.846e-05/0.3535, allocations: 64.2 kB / 0.569 GB, free: 13.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.3535, allocations: 0 / 0.569 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001617/0.3536, allocations: 71.47 kB / 0.569 GB, free: 13.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.3537, allocations: 81.11 kB / 0.5691 GB, free: 13.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.528e-05/0.3537, allocations: 93.86 kB / 0.5692 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.3537, allocations: 29.64 kB / 0.5692 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.3538, allocations: 80.14 kB / 0.5693 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.3538, allocations: 0 / 0.5693 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.3538, allocations: 13.72 kB / 0.5693 GB, free: 12.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.354, allocations: 314.8 kB / 0.5696 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/0.354, allocations: 0 / 0.5696 GB, free: 12.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.354, allocations: 4 kB / 0.5696 GB, free: 12.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.583e-05/0.354, allocations: 64.25 kB / 0.5697 GB, free: 12.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.354, allocations: 0 / 0.5697 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.202e-05/0.3541, allocations: 67.34 kB / 0.5697 GB, free: 12.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.3541, allocations: 33.64 kB / 0.5698 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3541, allocations: 0 / 0.5698 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.3541, allocations: 0 / 0.5698 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.3541, allocations: 0 / 0.5698 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.3541, allocations: 96 / 0.5698 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.372e-05/0.3542, allocations: 8 kB / 0.5698 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.3542, allocations: 0 / 0.5698 GB, free: 12.28 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 9.386e-05/0.3543, allocations: 135.5 kB / 0.5699 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.3543, allocations: 7.938 kB / 0.5699 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.131e-05/0.3543, allocations: 3 kB / 0.5699 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.31e-07/0.3543, allocations: 0 / 0.5699 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.3543, allocations: 0 / 0.5699 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.3543, allocations: 0 / 0.5699 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.722e-05/0.3544, allocations: 120.8 kB / 0.57 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3544, allocations: 4 kB / 0.57 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3544, allocations: 0 / 0.57 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.3544, allocations: 7.875 kB / 0.5701 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.3544, allocations: 4 kB / 0.5701 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.3544, allocations: 0 / 0.5701 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.3544, allocations: 0 / 0.5701 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.642e-05/0.3545, allocations: 94.77 kB / 0.5701 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-06/0.3545, allocations: 32 / 0.5701 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.3545, allocations: 7.938 kB / 0.5702 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-06/0.3545, allocations: 4 kB / 0.5702 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.3545, allocations: 0 / 0.5702 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.3545, allocations: 4 kB / 0.5702 GB, free: 11.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.865e-05/0.3546, allocations: 75.28 kB / 0.5702 GB, free: 11.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3546, allocations: 0 / 0.5702 GB, free: 11.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007562/0.3553, allocations: 275.6 kB / 0.5705 GB, free: 11.47 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.001256/0.3566, allocations: 427.3 kB / 0.5709 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.3567, allocations: 67.34 kB / 0.571 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3567, allocations: 0 / 0.571 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.3568, allocations: 55.41 kB / 0.571 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/0.3569, allocations: 0 / 0.571 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001962/0.3571, allocations: 80.98 kB / 0.5711 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.3574, allocations: 0.6728 MB / 0.5718 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.364e-06/0.3574, allocations: 7.938 kB / 0.5718 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.253e-05/0.3574, allocations: 7.438 kB / 0.5718 GB, free: 10.09 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3574, allocations: 4.125 kB / 0.5718 GB, free: 10.09 MB / 414.1 MB Notification: Performance of Templates: time 0.01386/0.3713, allocations: 7.305 MB / 0.5789 GB, free: 2.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.244767606724054] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.38012620620429516 0.39538568300000004 0.039939095 Calling exit ...