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.001862/0.001862, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002155/0.002155, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.232/0.232, allocations: 46.96 MB / 361.6 MB, free: 4.016 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.002111/0.002111, allocations: 67.89 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3254, allocations: 66.04 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001598/0.327, allocations: 493.1 kB / 0.5623 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007782/0.3347, allocations: 4.581 MB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.3348, allocations: 0 / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.3348, allocations: 3.938 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.861e-06/0.3348, allocations: 0 / 0.5668 GB, free: 15.08 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.008647/0.3434, allocations: 3.29 MB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.009e-05/0.3435, allocations: 3.984 kB / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.313e-05/0.3436, allocations: 4 kB / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.62e-05/0.3436, allocations: 3.938 kB / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.782e-05/0.3436, allocations: 4 kB / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.983e-06/0.3436, allocations: 0 / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03209/0.3757, allocations: 19.97 MB / 0.5895 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.3758, allocations: 3.984 kB / 0.5895 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.3758, allocations: 0 / 0.5895 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0386/0.4144, allocations: 26.13 MB / 0.615 GB, free: 13.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.4144, allocations: 0 / 0.615 GB, free: 13.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4144, allocations: 0 / 0.615 GB, free: 13.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.4144, allocations: 0 / 0.615 GB, free: 13.61 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.007214/0.4216, allocations: 0.5982 MB / 0.6156 GB, free: 12.97 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.4217, allocations: 8.031 kB / 0.6156 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.4217, allocations: 4.938 kB / 0.6156 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.788e-05/0.4218, allocations: 105.4 kB / 0.6157 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.4218, allocations: 7.984 kB / 0.6157 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.4218, allocations: 0 / 0.6157 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.4219, allocations: 59.34 kB / 0.6158 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.4219, allocations: 0 / 0.6158 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.422, allocations: 3.938 kB / 0.6158 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.422, allocations: 0 / 0.6158 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.383e-05/0.422, allocations: 33.7 kB / 0.6158 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.4221, allocations: 101.3 kB / 0.6159 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.914e-05/0.4222, allocations: 48.3 kB / 0.616 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.4222, allocations: 30.56 kB / 0.616 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-06/0.4222, allocations: 0 / 0.616 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.4223, allocations: 60.33 kB / 0.616 GB, free: 12.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.4223, allocations: 0 / 0.616 GB, free: 12.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002032/0.4225, allocations: 122.7 kB / 0.6162 GB, free: 12.26 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.4225, allocations: 77.11 kB / 0.6162 GB, free: 12.17 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.247e-05/0.4226, allocations: 89.98 kB / 0.6163 GB, free: 12.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.4226, allocations: 29.7 kB / 0.6163 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.4226, allocations: 80.14 kB / 0.6164 GB, free: 11.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.4227, allocations: 4 kB / 0.6164 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.4227, allocations: 9.719 kB / 0.6164 GB, free: 11.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.4229, allocations: 318.8 kB / 0.6167 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.853e-05/0.4229, allocations: 29.7 kB / 0.6168 GB, free: 11.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.181e-05/0.4229, allocations: 29.69 kB / 0.6168 GB, free: 11.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.809e-05/0.423, allocations: 64.2 kB / 0.6169 GB, free: 11.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.423, allocations: 0 / 0.6169 GB, free: 11.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.959e-05/0.4231, allocations: 93.17 kB / 0.6169 GB, free: 11.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.4231, allocations: 33.69 kB / 0.617 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4231, allocations: 0 / 0.617 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.4231, allocations: 7.938 kB / 0.617 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-07/0.4231, allocations: 0 / 0.617 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.4232, allocations: 0 / 0.617 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.4232, allocations: 0 / 0.617 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.4232, allocations: 0 / 0.617 GB, free: 11.31 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.0001207/0.4233, allocations: 139.5 kB / 0.6171 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-06/0.4233, allocations: 0 / 0.6171 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.243e-05/0.4233, allocations: 7.031 kB / 0.6171 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4233, allocations: 0 / 0.6171 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4233, allocations: 3.984 kB / 0.6171 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-06/0.4233, allocations: 7.938 kB / 0.6171 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.4233, allocations: 0 / 0.6171 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.292e-05/0.4234, allocations: 3.938 kB / 0.6171 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.4234, allocations: 4 kB / 0.6171 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001935/0.4236, allocations: 223.7 kB / 0.6174 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001987/0.4238, allocations: 266.2 kB / 0.6176 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.723e-05/0.4238, allocations: 33.75 kB / 0.6176 GB, free: 10.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.09e-05/0.4238, allocations: 79.28 kB / 0.6177 GB, free: 10.47 MB / 462.1 MB Notification: Performance of Backend: time 2.6e-07/0.4238, allocations: 4 kB / 0.6177 GB, free: 10.47 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02006/0.4439, allocations: 1.039 MB / 0.6187 GB, free: 9.43 MB / 462.1 MB Notification: Performance of SimCode: time 0.0005072/0.4444, allocations: 0.5872 MB / 0.6193 GB, free: 8.781 MB / 462.1 MB Notification: Performance of Templates: time 0.1726/0.617, allocations: 112.6 MB / 0.7293 GB, free: 7.961 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.082676361002086] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.6256624180023209 0.838194816 0.42138760200000003 Calling exit ...