Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001601/0.001601, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001983/0.001983, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2999/0.2999, allocations: 46.96 MB / 360.9 MB, free: 4.16 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+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.1.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 67.89 kB / 0.4966 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3686, allocations: 66.03 MB / 0.5611 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001857/0.3704, allocations: 499.5 kB / 0.5615 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009098/0.3795, allocations: 4.574 MB / 0.566 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.185e-05/0.3796, allocations: 0 / 0.566 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.3796, allocations: 3.938 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.965e-06/0.3796, allocations: 0 / 0.566 GB, free: 15.11 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.009527/0.3891, allocations: 3.262 MB / 0.5692 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.791e-05/0.3892, allocations: 4 kB / 0.5692 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.422e-05/0.3892, allocations: 0 / 0.5692 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.744e-05/0.3893, allocations: 0 / 0.5692 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.723e-05/0.3893, allocations: 7.984 kB / 0.5692 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.3893, allocations: 4 kB / 0.5692 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03338/0.4227, allocations: 19.8 MB / 0.5885 GB, free: 8.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.4227, allocations: 0 / 0.5885 GB, free: 8.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.4227, allocations: 3.938 kB / 0.5885 GB, free: 8.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03856/0.4613, allocations: 26.13 MB / 0.6141 GB, free: 13.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.4613, allocations: 3.938 kB / 0.6141 GB, free: 13.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.4613, allocations: 0 / 0.6141 GB, free: 13.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.4613, allocations: 0 / 0.6141 GB, free: 13.84 MB / 462.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.008292/0.4696, allocations: 0.5904 MB / 0.6146 GB, free: 13.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.4696, allocations: 16.03 kB / 0.6147 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.4697, allocations: 4.922 kB / 0.6147 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.734e-05/0.4698, allocations: 109.4 kB / 0.6148 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.4698, allocations: 0 / 0.6148 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.4698, allocations: 0 / 0.6148 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.4699, allocations: 55.41 kB / 0.6148 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.4699, allocations: 0 / 0.6148 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.4699, allocations: 0 / 0.6148 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4699, allocations: 0 / 0.6148 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.866e-05/0.47, allocations: 33.64 kB / 0.6149 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.4701, allocations: 101.2 kB / 0.615 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.874e-05/0.4702, allocations: 52.31 kB / 0.615 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.4702, allocations: 30.56 kB / 0.615 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.4702, allocations: 0 / 0.615 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/0.4703, allocations: 60.33 kB / 0.6151 GB, free: 12.65 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.031e-06/0.4703, allocations: 0 / 0.6151 GB, free: 12.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002189/0.4705, allocations: 122.7 kB / 0.6152 GB, free: 12.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.4706, allocations: 77.11 kB / 0.6153 GB, free: 12.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.339e-05/0.4706, allocations: 89.86 kB / 0.6154 GB, free: 12.31 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.4707, allocations: 29.64 kB / 0.6154 GB, free: 12.28 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.4707, allocations: 84.14 kB / 0.6155 GB, free: 12.19 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.4707, allocations: 4.125 kB / 0.6155 GB, free: 12.19 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.4708, allocations: 9.719 kB / 0.6155 GB, free: 12.17 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4709, allocations: 322.8 kB / 0.6158 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.928e-05/0.471, allocations: 29.7 kB / 0.6158 GB, free: 11.81 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.004e-05/0.471, allocations: 25.7 kB / 0.6158 GB, free: 11.78 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.623e-05/0.471, allocations: 60.27 kB / 0.6159 GB, free: 11.71 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.471, allocations: 3.938 kB / 0.6159 GB, free: 11.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001197/0.4712, allocations: 93.09 kB / 0.616 GB, free: 11.59 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.4712, allocations: 33.7 kB / 0.616 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.4712, allocations: 4.094 kB / 0.616 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.4712, allocations: 3.984 kB / 0.616 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.4712, allocations: 0 / 0.616 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.4712, allocations: 0 / 0.616 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.834e-05/0.4713, allocations: 0 / 0.616 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.4713, allocations: 0 / 0.616 GB, free: 11.55 MB / 462.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.0001102/0.4714, allocations: 143.4 kB / 0.6162 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.4714, allocations: 3.984 kB / 0.6162 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.289e-05/0.4714, allocations: 3 kB / 0.6162 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4714, allocations: 0 / 0.6162 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4714, allocations: 8 kB / 0.6162 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4714, allocations: 4 kB / 0.6162 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.051e-05/0.4715, allocations: 97.27 kB / 0.6163 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4715, allocations: 0 / 0.6163 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.32e-07/0.4715, allocations: 0 / 0.6163 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4715, allocations: 0 / 0.6163 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.4715, allocations: 4 kB / 0.6163 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4715, allocations: 0 / 0.6163 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4715, allocations: 3.938 kB / 0.6163 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.4717, allocations: 120.5 kB / 0.6164 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.4717, allocations: 7.969 kB / 0.6164 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.4717, allocations: 7.984 kB / 0.6164 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.868e-06/0.4717, allocations: 4 kB / 0.6164 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.4717, allocations: 0 / 0.6164 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.4717, allocations: 0 / 0.6164 GB, free: 11.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.616e-05/0.4718, allocations: 79.22 kB / 0.6165 GB, free: 10.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4718, allocations: 0 / 0.6165 GB, free: 10.99 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01156/0.4833, allocations: 3.784 MB / 0.6202 GB, free: 7.207 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.02078/0.5041, allocations: 0.9909 MB / 0.6212 GB, free: 6.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.5043, allocations: 114.8 kB / 0.6213 GB, free: 6.094 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5043, allocations: 0 / 0.6213 GB, free: 6.094 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.977e-05/0.5044, allocations: 85.09 kB / 0.6214 GB, free: 5.992 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.5045, allocations: 3.938 kB / 0.6214 GB, free: 5.988 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.5047, allocations: 106.8 kB / 0.6215 GB, free: 5.852 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.337e-05/0.5048, allocations: 59.34 kB / 0.6215 GB, free: 5.773 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.36e-06/0.5048, allocations: 0 / 0.6215 GB, free: 5.773 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.5048, allocations: 11.44 kB / 0.6215 GB, free: 5.762 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5048, allocations: 128 / 0.6215 GB, free: 5.762 MB / 462.1 MB Notification: Performance of Templates: time 0.1888/0.6936, allocations: 112.6 MB / 0.7315 GB, free: 4.957 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 14.647085446864367] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.7025240622460842 0.929154041 0.465437534 Calling exit ...