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.001334/0.001334, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001497/0.001497, allocations: 209.5 kB / 25.13 MB, free: 3.586 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.439/1.439, allocations: 230.4 MB / 258.7 MB, free: 8.051 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.2266/0.2266, allocations: 46.92 MB / 362 MB, free: 4.316 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.002354/0.002354, allocations: 79.88 kB / 0.4978 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.315, allocations: 66.08 MB / 0.5623 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001624/0.3166, allocations: 0.489 MB / 0.5628 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007771/0.3244, allocations: 4.95 MB / 0.5676 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.3244, allocations: 0 / 0.5676 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.3244, allocations: 7.938 kB / 0.5676 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/0.3244, allocations: 0 / 0.5676 GB, free: 14.79 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.008616/0.333, allocations: 3.262 MB / 0.5708 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.253e-05/0.3331, allocations: 3.984 kB / 0.5708 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.628e-05/0.3332, allocations: 0 / 0.5708 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.856e-05/0.3332, allocations: 0 / 0.5708 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.152e-05/0.3332, allocations: 8 kB / 0.5708 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.694e-06/0.3332, allocations: 3.984 kB / 0.5708 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03169/0.3649, allocations: 19.97 MB / 0.5903 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.3649, allocations: 4 kB / 0.5903 GB, free: 7.523 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.3649, allocations: 0 / 0.5903 GB, free: 7.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03809/0.403, allocations: 26.13 MB / 0.6159 GB, free: 13.36 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.403, allocations: 0 / 0.6159 GB, free: 13.36 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.403, allocations: 0 / 0.6159 GB, free: 13.36 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.403, allocations: 0 / 0.6159 GB, free: 13.36 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.007908/0.411, allocations: 0.6022 MB / 0.6164 GB, free: 12.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.411, allocations: 12.03 kB / 0.6164 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.411, allocations: 0.9375 kB / 0.6165 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.4112, allocations: 105.9 kB / 0.6166 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.4112, allocations: 3.938 kB / 0.6166 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.4112, allocations: 0 / 0.6166 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.4113, allocations: 63.39 kB / 0.6166 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.4113, allocations: 0 / 0.6166 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.4113, allocations: 0 / 0.6166 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4113, allocations: 0 / 0.6166 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.752e-05/0.4114, allocations: 37.64 kB / 0.6167 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.4115, allocations: 116.7 kB / 0.6168 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.767e-05/0.4116, allocations: 48.3 kB / 0.6168 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.4116, allocations: 34.56 kB / 0.6168 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.4117, allocations: 3.938 kB / 0.6168 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.036e-05/0.4117, allocations: 60.33 kB / 0.6169 GB, free: 12.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.4117, allocations: 4 kB / 0.6169 GB, free: 12.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002554/0.412, allocations: 118.7 kB / 0.617 GB, free: 11.97 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.775e-05/0.4121, allocations: 81.11 kB / 0.6171 GB, free: 11.87 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.062e-05/0.4121, allocations: 89.86 kB / 0.6172 GB, free: 11.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.4122, allocations: 25.7 kB / 0.6172 GB, free: 11.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.4122, allocations: 80.14 kB / 0.6173 GB, free: 11.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.4122, allocations: 0 / 0.6173 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.4123, allocations: 13.72 kB / 0.6173 GB, free: 11.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4124, allocations: 318.9 kB / 0.6176 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.581e-05/0.4125, allocations: 29.7 kB / 0.6176 GB, free: 11.29 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.265e-05/0.4125, allocations: 33.69 kB / 0.6177 GB, free: 11.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.867e-05/0.4125, allocations: 64.27 kB / 0.6177 GB, free: 11.17 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.4125, allocations: 3.938 kB / 0.6177 GB, free: 11.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.582e-05/0.4126, allocations: 81.11 kB / 0.6178 GB, free: 11.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.4127, allocations: 37.69 kB / 0.6178 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.4127, allocations: 0 / 0.6178 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4127, allocations: 4.094 kB / 0.6178 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.4127, allocations: 0 / 0.6178 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.4127, allocations: 0 / 0.6178 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.4127, allocations: 0 / 0.6178 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.4127, allocations: 4 kB / 0.6178 GB, free: 11.02 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.0001187/0.4128, allocations: 140.4 kB / 0.618 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.4129, allocations: 4 kB / 0.618 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.201e-05/0.4129, allocations: 3 kB / 0.618 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.4129, allocations: 3.938 kB / 0.618 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4129, allocations: 7.984 kB / 0.618 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.4129, allocations: 3.984 kB / 0.618 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.413, allocations: 116.7 kB / 0.6181 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.413, allocations: 4 kB / 0.6181 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.413, allocations: 0 / 0.6181 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.413, allocations: 0 / 0.6181 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.413, allocations: 0 / 0.6181 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.413, allocations: 0 / 0.6181 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.413, allocations: 3.938 kB / 0.6181 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.4131, allocations: 124.5 kB / 0.6182 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-06/0.4131, allocations: 3.938 kB / 0.6182 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.4131, allocations: 7.984 kB / 0.6183 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.102e-05/0.4132, allocations: 4 kB / 0.6183 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.4132, allocations: 0 / 0.6183 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-06/0.4132, allocations: 0 / 0.6183 GB, free: 10.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.176e-05/0.4132, allocations: 79.22 kB / 0.6183 GB, free: 10.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4132, allocations: 0 / 0.6183 GB, free: 10.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01136/0.4246, allocations: 3.784 MB / 0.622 GB, free: 6.645 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.01847/0.443, allocations: 0.9845 MB / 0.623 GB, free: 5.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.4433, allocations: 114.8 kB / 0.6231 GB, free: 5.523 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4433, allocations: 4 kB / 0.6231 GB, free: 5.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.022e-05/0.4433, allocations: 85.03 kB / 0.6232 GB, free: 5.418 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.4435, allocations: 4 kB / 0.6232 GB, free: 5.414 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.4437, allocations: 106.9 kB / 0.6233 GB, free: 5.277 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.4441, allocations: 0.669 MB / 0.6239 GB, free: 4.582 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.516e-06/0.4441, allocations: 3.984 kB / 0.6239 GB, free: 4.578 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.4442, allocations: 11.44 kB / 0.624 GB, free: 4.566 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4442, allocations: 0 / 0.624 GB, free: 4.566 MB / 462.1 MB Notification: Performance of Templates: time 0.1757/0.6198, allocations: 112.6 MB / 0.7339 GB, free: 3.754 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.948877628194168] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.6293946369551122 0.849353932 0.44381318599999997 Calling exit ...