Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001676/0.001676, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002095/0.002095, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2758/0.2758, allocations: 46.89 MB / 361.1 MB, free: 4.648 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 83.86 kB / 0.4967 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3421, allocations: 65.99 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001643/0.3437, allocations: 0.4932 MB / 0.5617 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008239/0.3519, allocations: 4.945 MB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.745e-05/0.352, allocations: 0 / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.352, allocations: 0 / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 4.999e-06/0.352, allocations: 0 / 0.5665 GB, free: 15.57 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.007242/0.3592, allocations: 2.942 MB / 0.5694 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.171e-05/0.3593, allocations: 0 / 0.5694 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.3593, allocations: 8 kB / 0.5694 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.648e-05/0.3593, allocations: 0 / 0.5694 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.702e-05/0.3593, allocations: 3.984 kB / 0.5694 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.179e-06/0.3594, allocations: 0 / 0.5694 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02984/0.3892, allocations: 19.57 MB / 0.5885 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.3892, allocations: 0 / 0.5885 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.3892, allocations: 3.938 kB / 0.5885 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03638/0.4256, allocations: 27.49 MB / 0.6153 GB, free: 13.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.4256, allocations: 0 / 0.6153 GB, free: 13.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4256, allocations: 0 / 0.6153 GB, free: 13.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.4256, allocations: 4 kB / 0.6153 GB, free: 13.5 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.00772/0.4334, allocations: 0.6696 MB / 0.616 GB, free: 12.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.4334, allocations: 11.97 kB / 0.616 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.4334, allocations: 0.9375 kB / 0.616 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.4335, allocations: 163.8 kB / 0.6162 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.4335, allocations: 0 / 0.6162 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.4336, allocations: 4 kB / 0.6162 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.4337, allocations: 33.62 kB / 0.6162 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.4337, allocations: 0 / 0.6162 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.4337, allocations: 4 kB / 0.6162 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4337, allocations: 0 / 0.6162 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/0.4337, allocations: 4 kB / 0.6162 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.4339, allocations: 149.6 kB / 0.6163 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.55e-05/0.4339, allocations: 18.61 kB / 0.6164 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.4339, allocations: 12.84 kB / 0.6164 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.4339, allocations: 3.984 kB / 0.6164 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.219e-05/0.434, allocations: 64.2 kB / 0.6164 GB, free: 12.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.434, allocations: 3.938 kB / 0.6164 GB, free: 12.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001711/0.4342, allocations: 63.47 kB / 0.6165 GB, free: 12.11 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.4342, allocations: 77.11 kB / 0.6166 GB, free: 12.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.881e-05/0.4343, allocations: 93.84 kB / 0.6167 GB, free: 11.92 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.4343, allocations: 29.7 kB / 0.6167 GB, free: 11.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.4343, allocations: 80.14 kB / 0.6168 GB, free: 11.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.4343, allocations: 0 / 0.6168 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.4344, allocations: 17.84 kB / 0.6168 GB, free: 11.78 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4345, allocations: 318.8 kB / 0.6171 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.677e-06/0.4345, allocations: 0 / 0.6171 GB, free: 11.46 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.92e-06/0.4345, allocations: 0 / 0.6171 GB, free: 11.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.983e-05/0.4346, allocations: 64.2 kB / 0.6171 GB, free: 11.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4346, allocations: 0 / 0.6171 GB, free: 11.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.205e-05/0.4347, allocations: 63.39 kB / 0.6172 GB, free: 11.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.487e-05/0.4347, allocations: 37.8 kB / 0.6172 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.4347, allocations: 0 / 0.6172 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4347, allocations: 0 / 0.6172 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.4347, allocations: 0 / 0.6172 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4347, allocations: 4 kB / 0.6172 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.472e-05/0.4347, allocations: 0 / 0.6172 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.4348, allocations: 0 / 0.6172 GB, free: 11.26 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 8.836e-05/0.4348, allocations: 143.4 kB / 0.6174 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.4348, allocations: 4 kB / 0.6174 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.209e-05/0.4349, allocations: 7.125 kB / 0.6174 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.4349, allocations: 0 / 0.6174 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.4349, allocations: 0 / 0.6174 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.4349, allocations: 0 / 0.6174 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.435, allocations: 153.6 kB / 0.6175 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.435, allocations: 3.938 kB / 0.6175 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.435, allocations: 0 / 0.6175 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.435, allocations: 0 / 0.6175 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.435, allocations: 0 / 0.6175 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.435, allocations: 0 / 0.6175 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.435, allocations: 0 / 0.6175 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.4351, allocations: 98.77 kB / 0.6176 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.4351, allocations: 77.11 kB / 0.6177 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.4351, allocations: 0 / 0.6177 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.255e-05/0.4352, allocations: 8 kB / 0.6177 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.4352, allocations: 0 / 0.6177 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.4352, allocations: 0 / 0.6177 GB, free: 10.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.293e-05/0.4352, allocations: 75.28 kB / 0.6178 GB, free: 10.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4352, allocations: 32 / 0.6178 GB, free: 10.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01037/0.4456, allocations: 3.795 MB / 0.6215 GB, free: 6.793 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.01955/0.4651, allocations: 0.9919 MB / 0.6225 GB, free: 5.809 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.4653, allocations: 63.33 kB / 0.6225 GB, free: 5.734 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4653, allocations: 0 / 0.6225 GB, free: 5.734 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.43e-05/0.4654, allocations: 59.41 kB / 0.6226 GB, free: 5.664 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.4655, allocations: 4.125 kB / 0.6226 GB, free: 5.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002049/0.4657, allocations: 81.06 kB / 0.6227 GB, free: 5.555 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.466, allocations: 0.669 MB / 0.6233 GB, free: 4.859 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.584e-06/0.466, allocations: 11.92 kB / 0.6233 GB, free: 4.848 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.305e-05/0.466, allocations: 7.438 kB / 0.6233 GB, free: 4.84 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.466, allocations: 0 / 0.6233 GB, free: 4.84 MB / 462.1 MB Notification: Performance of Templates: time 0.1694/0.6354, allocations: 112.6 MB / 0.7333 GB, free: 4.043 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 13.602901285979897] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.643582081887871 0.863445121 0.43535341400000005 Calling exit ...