Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001701/0.001701, allocations: 73.56 kB / 21.24 MB, free: 0.5547 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.002106/0.002106, allocations: 159.3 kB / 24.5 MB, free: 3.715 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.448/1.448, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2053/0.2053, allocations: 32.82 MB / 294.1 MB, free: 20 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 70.39 kB / 440.6 MB, free: 9.438 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3493, allocations: 65.43 MB / 0.4941 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001581/0.3509, allocations: 0.5036 MB / 0.4946 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.3526, allocations: 1.51 MB / 0.4961 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.3526, allocations: 3.219 kB / 0.4961 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.3526, allocations: 0 / 0.4961 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.55e-06/0.3526, allocations: 4 kB / 0.4961 GB, free: 30.05 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0008618/0.3535, allocations: 256 kB / 0.4963 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.596e-05/0.3536, allocations: 7.281 kB / 0.4963 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.3536, allocations: 0 / 0.4963 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.586e-05/0.3536, allocations: 3.984 kB / 0.4964 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.261e-05/0.3536, allocations: 3.219 kB / 0.4964 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.841e-06/0.3536, allocations: 0 / 0.4964 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008367/0.3545, allocations: 0.6838 MB / 0.497 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.896e-06/0.3545, allocations: 0 / 0.497 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.3545, allocations: 7.156 kB / 0.497 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005969/0.3551, allocations: 0.62 MB / 0.4976 GB, free: 29.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3551, allocations: 0 / 0.4976 GB, free: 29.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3551, allocations: 0 / 0.4976 GB, free: 29.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3551, allocations: 0 / 0.4976 GB, free: 29.76 MB / 446.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.0004112/0.3555, allocations: 295.5 kB / 0.4979 GB, free: 29.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3556, allocations: 9.688 kB / 0.4979 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.3556, allocations: 0.9375 kB / 0.4979 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.21e-05/0.3557, allocations: 109 kB / 0.498 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.3557, allocations: 384 / 0.498 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.3557, allocations: 384 / 0.498 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.3558, allocations: 62.62 kB / 0.4981 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.3558, allocations: 0 / 0.4981 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3558, allocations: 0 / 0.4981 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3558, allocations: 2.969 kB / 0.4981 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.563e-05/0.3558, allocations: 25.7 kB / 0.4981 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.277e-05/0.3559, allocations: 103.9 kB / 0.4982 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.228e-05/0.356, allocations: 47.22 kB / 0.4983 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.356, allocations: 30.56 kB / 0.4983 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.53e-06/0.356, allocations: 0 / 0.4983 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.3561, allocations: 59.23 kB / 0.4983 GB, free: 28.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.3561, allocations: 4 kB / 0.4984 GB, free: 28.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001813/0.3562, allocations: 127.4 kB / 0.4985 GB, free: 28.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.3563, allocations: 81.05 kB / 0.4986 GB, free: 28.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.41e-05/0.3563, allocations: 93.81 kB / 0.4986 GB, free: 28.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.553e-06/0.3563, allocations: 25.7 kB / 0.4987 GB, free: 28.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.27e-05/0.3563, allocations: 80.14 kB / 0.4987 GB, free: 28.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.3563, allocations: 6.844 kB / 0.4987 GB, free: 28.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.3564, allocations: 9.719 kB / 0.4988 GB, free: 28.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.384e-05/0.3564, allocations: 318.1 kB / 0.4991 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.3564, allocations: 25.83 kB / 0.4991 GB, free: 28.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.021e-05/0.3564, allocations: 33.64 kB / 0.4991 GB, free: 28.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.515e-05/0.3565, allocations: 66.55 kB / 0.4992 GB, free: 28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3565, allocations: 0 / 0.4992 GB, free: 28 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.585e-05/0.3565, allocations: 90.84 kB / 0.4993 GB, free: 27.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.3566, allocations: 35.8 kB / 0.4993 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3566, allocations: 4 kB / 0.4993 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.3566, allocations: 7.922 kB / 0.4993 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.754e-06/0.3566, allocations: 3.469 kB / 0.4993 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3566, allocations: 0 / 0.4993 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.459e-05/0.3566, allocations: 4.094 kB / 0.4993 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.3566, allocations: 3.188 kB / 0.4993 GB, free: 27.85 MB / 446.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 5.822e-05/0.3567, allocations: 134.8 kB / 0.4995 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-06/0.3567, allocations: 0 / 0.4995 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.015e-05/0.3567, allocations: 6.938 kB / 0.4995 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.3567, allocations: 0 / 0.4995 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3567, allocations: 0 / 0.4995 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3567, allocations: 0 / 0.4995 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.818e-05/0.3567, allocations: 99.83 kB / 0.4996 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.3567, allocations: 0 / 0.4996 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3567, allocations: 4 kB / 0.4996 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.3567, allocations: 0 / 0.4996 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.3568, allocations: 3.062 kB / 0.4996 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3568, allocations: 3.938 kB / 0.4996 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3568, allocations: 0 / 0.4996 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.808e-05/0.3568, allocations: 124.6 kB / 0.4997 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-06/0.3568, allocations: 0 / 0.4997 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.3569, allocations: 0 / 0.4997 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.079e-05/0.3569, allocations: 10.44 kB / 0.4997 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.3569, allocations: 0 / 0.4997 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.3569, allocations: 0 / 0.4997 GB, free: 27.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.572e-05/0.3569, allocations: 79.31 kB / 0.4998 GB, free: 27.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3569, allocations: 0 / 0.4998 GB, free: 27.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003847/0.3573, allocations: 119.7 kB / 0.4999 GB, free: 27.34 MB / 446.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.0007168/0.358, allocations: 178.7 kB / 0.5001 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.833e-05/0.3581, allocations: 109.4 kB / 0.5002 GB, free: 27.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3581, allocations: 3.281 kB / 0.5002 GB, free: 27.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.541e-05/0.3581, allocations: 80.3 kB / 0.5002 GB, free: 27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.3582, allocations: 4 kB / 0.5002 GB, free: 27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001767/0.3584, allocations: 117.8 kB / 0.5004 GB, free: 26.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.044e-05/0.3585, allocations: 51.36 kB / 0.5004 GB, free: 26.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.851e-06/0.3585, allocations: 3.188 kB / 0.5004 GB, free: 26.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.072e-05/0.3585, allocations: 12.62 kB / 0.5004 GB, free: 26.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3585, allocations: 0 / 0.5004 GB, free: 26.79 MB / 446.1 MB Notification: Performance of Templates: time 0.006234/0.3647, allocations: 3.945 MB / 0.5043 GB, free: 26.57 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.898250427097082] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.3727406330872327 0.384296448 0.026552723 Calling exit ...