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.001428/0.001428, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00167/0.00167, allocations: 209 kB / 24.48 MB, free: 3.941 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.441/1.441, allocations: 230.6 MB / 258.2 MB, free: 7.773 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.2284/0.2284, allocations: 46.96 MB / 361.6 MB, free: 4.027 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.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.001987/0.001987, allocations: 67.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3425, allocations: 66.03 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001655/0.3441, allocations: 497.1 kB / 0.5623 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007733/0.3519, allocations: 4.58 MB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.3519, allocations: 0 / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.3519, allocations: 0 / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.551e-06/0.3519, allocations: 0 / 0.5667 GB, free: 15.09 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.00822/0.3601, allocations: 3.29 MB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.645e-05/0.3602, allocations: 0 / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.3602, allocations: 4 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.951e-05/0.3602, allocations: 0 / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.405e-05/0.3603, allocations: 7.984 kB / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-06/0.3603, allocations: 0 / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03022/0.3905, allocations: 19.97 MB / 0.5895 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.3905, allocations: 0 / 0.5895 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.3905, allocations: 3.938 kB / 0.5895 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03657/0.4271, allocations: 26.13 MB / 0.615 GB, free: 13.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4271, allocations: 0 / 0.615 GB, free: 13.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4271, allocations: 0 / 0.615 GB, free: 13.62 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.4271, allocations: 4 kB / 0.615 GB, free: 13.62 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.006849/0.434, allocations: 0.5982 MB / 0.6156 GB, free: 12.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.434, allocations: 16.02 kB / 0.6156 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.4341, allocations: 0.9375 kB / 0.6156 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.55e-05/0.4341, allocations: 105.4 kB / 0.6157 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.4341, allocations: 0 / 0.6157 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.4342, allocations: 7.984 kB / 0.6157 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.597e-05/0.4343, allocations: 55.41 kB / 0.6158 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4343, allocations: 0 / 0.6158 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.4343, allocations: 3.938 kB / 0.6158 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.4343, allocations: 8 kB / 0.6158 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.29e-05/0.4343, allocations: 29.64 kB / 0.6158 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.4344, allocations: 101.2 kB / 0.6159 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.219e-05/0.4345, allocations: 44.31 kB / 0.6159 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.4345, allocations: 38.56 kB / 0.616 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.4345, allocations: 4.062 kB / 0.616 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/0.4346, allocations: 56.27 kB / 0.616 GB, free: 12.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.4346, allocations: 0 / 0.616 GB, free: 12.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.000215/0.4348, allocations: 118.7 kB / 0.6161 GB, free: 12.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.4349, allocations: 81.11 kB / 0.6162 GB, free: 12.17 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.869e-05/0.4349, allocations: 93.98 kB / 0.6163 GB, free: 12.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.4349, allocations: 29.7 kB / 0.6163 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.435, allocations: 80.14 kB / 0.6164 GB, free: 11.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.435, allocations: 0 / 0.6164 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.435, allocations: 9.719 kB / 0.6164 GB, free: 11.94 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4352, allocations: 322.8 kB / 0.6167 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.4352, allocations: 25.7 kB / 0.6168 GB, free: 11.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.861e-05/0.4352, allocations: 25.7 kB / 0.6168 GB, free: 11.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.533e-05/0.4353, allocations: 64.27 kB / 0.6168 GB, free: 11.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4353, allocations: 0 / 0.6168 GB, free: 11.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.169e-05/0.4353, allocations: 97.09 kB / 0.6169 GB, free: 11.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.4354, allocations: 33.7 kB / 0.617 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.4354, allocations: 0 / 0.617 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.4354, allocations: 0 / 0.617 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.4354, allocations: 0 / 0.617 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.4354, allocations: 0 / 0.617 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.681e-05/0.4354, allocations: 0 / 0.617 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.4354, allocations: 0 / 0.617 GB, free: 11.32 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 9.622e-05/0.4355, allocations: 147.4 kB / 0.6171 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.4355, allocations: 3.984 kB / 0.6171 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.999e-06/0.4356, allocations: 7.031 kB / 0.6171 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.4356, allocations: 4 kB / 0.6171 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4356, allocations: 0 / 0.6171 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.4356, allocations: 0 / 0.6171 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.001e-05/0.4356, allocations: 97.27 kB / 0.6172 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.4356, allocations: 3.938 kB / 0.6172 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.4356, allocations: 0 / 0.6172 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.4356, allocations: 4 kB / 0.6172 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.4356, allocations: 0 / 0.6172 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.4356, allocations: 0 / 0.6172 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4357, allocations: 3.984 kB / 0.6172 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.4358, allocations: 124.4 kB / 0.6173 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.4358, allocations: 3.938 kB / 0.6174 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.4358, allocations: 7.984 kB / 0.6174 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-06/0.4358, allocations: 0 / 0.6174 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.4358, allocations: 0 / 0.6174 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.4358, allocations: 0 / 0.6174 GB, free: 10.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.302e-05/0.4359, allocations: 79.28 kB / 0.6174 GB, free: 10.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4359, allocations: 0 / 0.6174 GB, free: 10.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01237/0.4482, allocations: 3.784 MB / 0.6211 GB, free: 6.98 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.02212/0.4703, allocations: 0.9921 MB / 0.6221 GB, free: 6.004 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.4705, allocations: 114.8 kB / 0.6222 GB, free: 5.867 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4705, allocations: 0 / 0.6222 GB, free: 5.867 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.086e-05/0.4706, allocations: 89.09 kB / 0.6223 GB, free: 5.762 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.4708, allocations: 3.938 kB / 0.6223 GB, free: 5.758 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.471, allocations: 102.8 kB / 0.6224 GB, free: 5.625 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.201e-05/0.4711, allocations: 59.34 kB / 0.6225 GB, free: 5.547 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.681e-06/0.4711, allocations: 8.062 kB / 0.6225 GB, free: 5.539 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.4711, allocations: 11.44 kB / 0.6225 GB, free: 5.527 MB / 462.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4711, allocations: 0 / 0.6225 GB, free: 5.527 MB / 462.1 MB Notification: Performance of Templates: time 0.1753/0.6464, allocations: 112.6 MB / 0.7324 GB, free: 4.727 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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 13.626292108005146] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.6553996389993699 0.895698319 0.46620468499999995 Calling exit ...