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.001658/0.001658, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002082/0.002082, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.559/1.559, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2608/0.2608, allocations: 46.93 MB / 360.8 MB, free: 4.309 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.00238/0.00238, allocations: 59.89 kB / 0.4966 GB, free: 7.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3865, allocations: 66.04 MB / 0.5611 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001782/0.3883, allocations: 485 kB / 0.5616 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008659/0.3969, allocations: 4.971 MB / 0.5664 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.846e-05/0.397, allocations: 0 / 0.5664 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.397, allocations: 0 / 0.5664 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.093e-06/0.397, allocations: 0 / 0.5664 GB, free: 14.99 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.009147/0.4061, allocations: 3.263 MB / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.954e-05/0.4062, allocations: 11.98 kB / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.4062, allocations: 0 / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.459e-05/0.4062, allocations: 0 / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.335e-05/0.4063, allocations: 0 / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.811e-06/0.4063, allocations: 0 / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03487/0.4411, allocations: 21.05 MB / 0.5902 GB, free: 6.645 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.4411, allocations: 0 / 0.5902 GB, free: 6.645 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.4412, allocations: 4 kB / 0.5902 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0453/0.4865, allocations: 27.61 MB / 0.6172 GB, free: 10.99 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.4865, allocations: 0 / 0.6172 GB, free: 10.99 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4865, allocations: 0 / 0.6172 GB, free: 10.99 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.4865, allocations: 0 / 0.6172 GB, free: 10.99 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.008867/0.4954, allocations: 0.5944 MB / 0.6177 GB, free: 10.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4954, allocations: 8.031 kB / 0.6177 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.4955, allocations: 4.938 kB / 0.6177 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.4956, allocations: 113.4 kB / 0.6179 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.4956, allocations: 0 / 0.6179 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.4956, allocations: 3.938 kB / 0.6179 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.4957, allocations: 33.62 kB / 0.6179 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4957, allocations: 4 kB / 0.6179 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.4957, allocations: 0 / 0.6179 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4957, allocations: 0 / 0.6179 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.702e-05/0.4958, allocations: 3.938 kB / 0.6179 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.4959, allocations: 124.7 kB / 0.618 GB, free: 9.992 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.407e-05/0.496, allocations: 18.58 kB / 0.618 GB, free: 9.965 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/0.496, allocations: 8.844 kB / 0.618 GB, free: 9.953 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.496, allocations: 3.984 kB / 0.618 GB, free: 9.949 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.733e-05/0.4961, allocations: 64.3 kB / 0.6181 GB, free: 9.871 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.4961, allocations: 0 / 0.6181 GB, free: 9.871 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001997/0.4963, allocations: 59.41 kB / 0.6182 GB, free: 9.801 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.4963, allocations: 85.23 kB / 0.6182 GB, free: 9.699 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.914e-05/0.4964, allocations: 93.84 kB / 0.6183 GB, free: 9.598 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.4964, allocations: 25.7 kB / 0.6184 GB, free: 9.566 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.4964, allocations: 80.14 kB / 0.6184 GB, free: 9.484 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.4965, allocations: 0 / 0.6184 GB, free: 9.484 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.4965, allocations: 13.72 kB / 0.6185 GB, free: 9.465 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4966, allocations: 314.8 kB / 0.6188 GB, free: 9.148 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-06/0.4966, allocations: 0 / 0.6188 GB, free: 9.148 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.237e-06/0.4966, allocations: 8 kB / 0.6188 GB, free: 9.141 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.504e-05/0.4967, allocations: 64.2 kB / 0.6188 GB, free: 9.062 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4967, allocations: 0 / 0.6188 GB, free: 9.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.533e-05/0.4968, allocations: 63.39 kB / 0.6189 GB, free: 8.988 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.4968, allocations: 33.7 kB / 0.6189 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4969, allocations: 0 / 0.6189 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.4969, allocations: 0 / 0.6189 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.4969, allocations: 0 / 0.6189 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.4969, allocations: 0 / 0.6189 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.522e-05/0.4969, allocations: 4.094 kB / 0.6189 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.4969, allocations: 3.938 kB / 0.6189 GB, free: 8.941 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.0001046/0.497, allocations: 139.5 kB / 0.6191 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.497, allocations: 4 kB / 0.6191 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.169e-05/0.497, allocations: 3 kB / 0.6191 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.497, allocations: 0 / 0.6191 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.497, allocations: 7.938 kB / 0.6191 GB, free: 8.773 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.497, allocations: 0 / 0.6191 GB, free: 8.773 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.4971, allocations: 116.7 kB / 0.6192 GB, free: 8.617 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.4971, allocations: 4 kB / 0.6192 GB, free: 8.613 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.922e-06/0.4971, allocations: 11.92 kB / 0.6192 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.4971, allocations: 0 / 0.6192 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.4971, allocations: 4 kB / 0.6192 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.4971, allocations: 0 / 0.6192 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.4971, allocations: 0 / 0.6192 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.4973, allocations: 90.78 kB / 0.6193 GB, free: 8.484 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.4973, allocations: 7.922 kB / 0.6193 GB, free: 8.477 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.4973, allocations: 7.969 kB / 0.6193 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-06/0.4973, allocations: 0 / 0.6193 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.4973, allocations: 0 / 0.6193 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.4973, allocations: 4 kB / 0.6193 GB, free: 8.465 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.891e-05/0.4973, allocations: 79.22 kB / 0.6194 GB, free: 8.387 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4973, allocations: 0 / 0.6194 GB, free: 8.387 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01202/0.5094, allocations: 3.787 MB / 0.6231 GB, free: 4.598 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.0227/0.5321, allocations: 0.9846 MB / 0.624 GB, free: 3.625 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.5322, allocations: 55.41 kB / 0.6241 GB, free: 3.559 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5322, allocations: 0 / 0.6241 GB, free: 3.559 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.43e-05/0.5322, allocations: 59.39 kB / 0.6241 GB, free: 3.488 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.5324, allocations: 7.594 kB / 0.6242 GB, free: 3.484 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.5327, allocations: 81.06 kB / 0.6242 GB, free: 3.379 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.5332, allocations: 0.669 MB / 0.6249 GB, free: 2.684 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.531e-06/0.5332, allocations: 4.125 kB / 0.6249 GB, free: 2.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.5332, allocations: 11.44 kB / 0.6249 GB, free: 2.668 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5332, allocations: 3.938 kB / 0.6249 GB, free: 2.664 MB / 462.1 MB Notification: Performance of Templates: time 0.1892/0.7224, allocations: 112.6 MB / 0.7349 GB, free: 1.852 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: 15.216954322066158] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.7331871059723198 0.964797997 0.47570968099999994 Calling exit ...