Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.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.002049/0.002049, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002636/0.002636, allocations: 211.7 kB / 23.73 MB, free: 4.387 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.656/1.656, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2304/0.2304, allocations: 46.94 MB / 360.8 MB, free: 4.156 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003454/0.003454, allocations: 67.89 kB / 0.4966 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3536, allocations: 66.04 MB / 0.5611 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001831/0.3554, allocations: 497 kB / 0.5615 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003402/0.3588, allocations: 2.056 MB / 0.5635 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.256e-05/0.3589, allocations: 0 / 0.5635 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.3589, allocations: 4 kB / 0.5635 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.71e-06/0.3589, allocations: 0 / 0.5635 GB, free: 1.641 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.002119/0.361, allocations: 0.7744 MB / 0.5643 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.693e-05/0.3611, allocations: 0 / 0.5643 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.3611, allocations: 0 / 0.5643 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.174e-05/0.3611, allocations: 11.97 kB / 0.5643 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.001e-05/0.3611, allocations: 0 / 0.5643 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.533e-06/0.3612, allocations: 0 / 0.5643 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.3634, allocations: 1.548 MB / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.3634, allocations: 3.938 kB / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.3634, allocations: 0 / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.3652, allocations: 1.55 MB / 0.5673 GB, free: 13.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3652, allocations: 0 / 0.5673 GB, free: 13.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3652, allocations: 3.938 kB / 0.5673 GB, free: 13.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3652, allocations: 0 / 0.5673 GB, free: 13.76 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.0006248/0.3658, allocations: 347.3 kB / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3658, allocations: 12.03 kB / 0.5677 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.3659, allocations: 0.9375 kB / 0.5677 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.366, allocations: 110.5 kB / 0.5678 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.366, allocations: 4.375 kB / 0.5678 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.366, allocations: 4.125 kB / 0.5678 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.3661, allocations: 59.39 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3661, allocations: 0 / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.3661, allocations: 0 / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.3661, allocations: 0 / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.136e-05/0.3662, allocations: 25.7 kB / 0.5679 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.3663, allocations: 105.3 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.674e-05/0.3664, allocations: 48.22 kB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.3664, allocations: 38.64 kB / 0.5681 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.3664, allocations: 0 / 0.5681 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.89e-05/0.3665, allocations: 60.2 kB / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.3665, allocations: 0 / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002501/0.3667, allocations: 118.8 kB / 0.5682 GB, free: 12.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.3668, allocations: 85.09 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.083e-05/0.3669, allocations: 93.8 kB / 0.5684 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.3669, allocations: 25.7 kB / 0.5684 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.3669, allocations: 84.27 kB / 0.5685 GB, free: 12.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.3669, allocations: 0 / 0.5685 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.367, allocations: 13.72 kB / 0.5685 GB, free: 12.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3671, allocations: 310.8 kB / 0.5688 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.721e-05/0.3672, allocations: 29.7 kB / 0.5689 GB, free: 11.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.3672, allocations: 29.7 kB / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.727e-05/0.3672, allocations: 64.25 kB / 0.5689 GB, free: 11.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3672, allocations: 0 / 0.5689 GB, free: 11.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.333e-05/0.3673, allocations: 89.05 kB / 0.569 GB, free: 11.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.3674, allocations: 41.73 kB / 0.5691 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3674, allocations: 0 / 0.5691 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3674, allocations: 0 / 0.5691 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.045e-06/0.3674, allocations: 7.922 kB / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3674, allocations: 0 / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.3674, allocations: 0 / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.3674, allocations: 4 kB / 0.5691 GB, free: 11.71 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.000105/0.3675, allocations: 131.5 kB / 0.5692 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.3675, allocations: 3.938 kB / 0.5692 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.078e-05/0.3675, allocations: 7 kB / 0.5692 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.3675, allocations: 3.938 kB / 0.5692 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3675, allocations: 4 kB / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3676, allocations: 0 / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.983e-05/0.3676, allocations: 97.31 kB / 0.5693 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.3676, allocations: 0 / 0.5693 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.3676, allocations: 4 kB / 0.5693 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.3676, allocations: 0 / 0.5693 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.3676, allocations: 3.938 kB / 0.5693 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.3676, allocations: 0 / 0.5693 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3676, allocations: 0 / 0.5693 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.3678, allocations: 116.5 kB / 0.5694 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.3678, allocations: 11.97 kB / 0.5694 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.3678, allocations: 7.938 kB / 0.5695 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.052e-05/0.3678, allocations: 3.984 kB / 0.5695 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.3678, allocations: 0 / 0.5695 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.3678, allocations: 4 kB / 0.5695 GB, free: 11.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.657e-05/0.3679, allocations: 75.28 kB / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3679, allocations: 0 / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007562/0.3686, allocations: 279.6 kB / 0.5698 GB, free: 10.89 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.001294/0.3699, allocations: 420.7 kB / 0.5702 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.3701, allocations: 118.8 kB / 0.5703 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3701, allocations: 0 / 0.5703 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.3701, allocations: 85.09 kB / 0.5704 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.3703, allocations: 0 / 0.5704 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.3705, allocations: 110.6 kB / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.393e-05/0.3705, allocations: 55.36 kB / 0.5706 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.055e-05/0.3705, allocations: 3.984 kB / 0.5706 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.476e-05/0.3706, allocations: 7.438 kB / 0.5706 GB, free: 10.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3706, allocations: 0 / 0.5706 GB, free: 10.02 MB / 414.1 MB Notification: Performance of Templates: time 0.01289/0.3834, allocations: 7.299 MB / 0.5777 GB, free: 2.711 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.573846150189638] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.3936135694384575 0.407007832 0.038661865000000004 Calling exit ...