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.001837/0.001837, allocations: 84.86 kB / 20.68 MB, free: 1.023 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.002085/0.002085, allocations: 163 kB / 23.96 MB, free: 4.148 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.572/1.572, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.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.2189/0.2189, allocations: 34.27 MB / 294.9 MB, free: 14.58 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 1.513e-06/1.513e-06, allocations: 0 / 442.6 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.616e-05, allocations: 6.219 kB / 442.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001523/0.001549, allocations: 0.4966 MB / 443.1 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.003905, allocations: 1.522 MB / 444.7 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.069e-05/0.003925, allocations: 0 / 444.7 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.003938, allocations: 0 / 444.7 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.003943, allocations: 0 / 444.7 MB, free: 3.383 MB / 366.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.0009857/0.004929, allocations: 251.2 kB / 444.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.97e-05/0.004969, allocations: 4 kB / 444.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.005004, allocations: 7.984 kB / 444.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.504e-05/0.005029, allocations: 3.984 kB / 444.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.801e-05/0.005047, allocations: 4 kB / 444.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.545e-06/0.005054, allocations: 0 / 444.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.006107, allocations: 0.6829 MB / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.091e-06/0.006113, allocations: 0 / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.006131, allocations: 4 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009452/0.007076, allocations: 0.7409 MB / 446.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.007079, allocations: 0 / 446.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.00708, allocations: 0 / 446.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.007087, allocations: 3.984 kB / 446.4 MB, free: 1.684 MB / 366.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.0004542/0.007541, allocations: 299.8 kB / 446.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.007579, allocations: 12.03 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.007604, allocations: 0.9375 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.571e-05/0.00769, allocations: 101.8 kB / 446.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.007703, allocations: 384 / 446.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.007712, allocations: 4.375 kB / 446.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.00782, allocations: 55.91 kB / 446.8 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.007828, allocations: 192 / 446.8 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.007837, allocations: 4.375 kB / 446.8 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.007848, allocations: 3.938 kB / 446.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.421e-05/0.007883, allocations: 41.62 kB / 446.9 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.007991, allocations: 97.33 kB / 447 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.929e-05/0.008061, allocations: 40.28 kB / 447 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/0.00809, allocations: 30.56 kB / 447 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.008099, allocations: 4.094 kB / 447 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.008149, allocations: 60.27 kB / 447.1 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.00815, allocations: 3.938 kB / 447.1 MB, free: 0.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002061/0.008356, allocations: 114.8 kB / 447.2 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.008411, allocations: 81.05 kB / 447.3 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.846e-05/0.008479, allocations: 89.98 kB / 447.4 MB, free: 472 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.008496, allocations: 33.7 kB / 447.4 MB, free: 432 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.008533, allocations: 80.14 kB / 447.5 MB, free: 348 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.008551, allocations: 7.953 kB / 447.5 MB, free: 340 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.00858, allocations: 13.7 kB / 447.5 MB, free: 320 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1685/0.1771, allocations: 314.8 kB / 447.8 MB, free: 19.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.1771, allocations: 25.7 kB / 447.9 MB, free: 19.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.441e-05/0.1771, allocations: 25.7 kB / 447.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.711e-05/0.1772, allocations: 63.23 kB / 447.9 MB, free: 19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1772, allocations: 0 / 447.9 MB, free: 19 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000135/0.1774, allocations: 96.19 kB / 448 MB, free: 18.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.1774, allocations: 31.89 kB / 448.1 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1774, allocations: 1.062 kB / 448.1 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.1774, allocations: 0 / 448.1 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.885e-06/0.1774, allocations: 2.312 kB / 448.1 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.1774, allocations: 5.719 kB / 448.1 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.372e-05/0.1775, allocations: 0 / 448.1 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1775, allocations: 2.062 kB / 448.1 MB, free: 18.88 MB / 366.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 6.695e-05/0.1775, allocations: 136.8 kB / 448.2 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.1776, allocations: 1.844 kB / 448.2 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.334e-05/0.1776, allocations: 3.75 kB / 448.2 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1776, allocations: 1 kB / 448.2 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1776, allocations: 3.75 kB / 448.2 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1776, allocations: 1 kB / 448.2 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.758e-05/0.1776, allocations: 101.1 kB / 448.3 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1776, allocations: 3.172 kB / 448.3 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-07/0.1776, allocations: 1.188 kB / 448.3 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-06/0.1776, allocations: 0 / 448.3 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1776, allocations: 1.703 kB / 448.3 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1776, allocations: 1.125 kB / 448.3 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1776, allocations: 0 / 448.3 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.438e-05/0.1777, allocations: 126.8 kB / 448.5 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.1778, allocations: 2 kB / 448.5 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.1778, allocations: 7.969 kB / 448.5 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.002e-05/0.1778, allocations: 0.8438 kB / 448.5 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.1778, allocations: 8.219 kB / 448.5 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1778, allocations: 0 / 448.5 MB, free: 18.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.559e-05/0.1778, allocations: 77.47 kB / 448.5 MB, free: 18.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1778, allocations: 0 / 448.5 MB, free: 18.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000557/0.1784, allocations: 122.1 kB / 448.7 MB, free: 18.4 MB / 366.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.0007587/0.1791, allocations: 186.3 kB / 448.8 MB, free: 18.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.219e-05/0.1792, allocations: 116.9 kB / 449 MB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1792, allocations: 0 / 449 MB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.241e-05/0.1792, allocations: 80.98 kB / 449 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.1794, allocations: 9.859 kB / 449.1 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001612/0.1795, allocations: 111.7 kB / 449.2 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.73e-05/0.1796, allocations: 58.84 kB / 449.2 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.779e-06/0.1796, allocations: 3.969 kB / 449.2 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.013e-05/0.1796, allocations: 9.812 kB / 449.2 MB, free: 17.88 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1796, allocations: 0 / 449.2 MB, free: 17.88 MB / 366.1 MB Notification: Performance of Templates: time 0.009927/0.1895, allocations: 3.949 MB / 453.2 MB, free: 17.76 MB / 366.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: 4.956869371235371] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.19814952462911606 0.21543037 0.203959245 Calling exit ...