Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.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.002063/0.002063, allocations: 88.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.003339/0.003339, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 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.649/1.649, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 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.3502/0.3502, allocations: 32.79 MB / 293.9 MB, free: 1.207 MB / 266.7 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 375.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.618e-05, allocations: 2.312 kB / 375.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001851/0.001887, allocations: 0.4927 MB / 375.7 MB, free: 4.492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003996/0.005883, allocations: 2.071 MB / 377.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.818e-05/0.005902, allocations: 0 / 377.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.005913, allocations: 0 / 377.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.759e-06/0.005918, allocations: 4 kB / 377.8 MB, free: 2.395 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.008343, allocations: 0.7596 MB / 378.6 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.485e-05/0.008398, allocations: 3.938 kB / 378.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.316e-05/0.008431, allocations: 0 / 378.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.083e-05/0.008462, allocations: 7.984 kB / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.789e-05/0.008479, allocations: 0 / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.633e-06/0.008486, allocations: 0 / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.01114, allocations: 1.556 MB / 380.1 MB, free: 64 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.346e-06/0.01114, allocations: 0 / 380.1 MB, free: 64 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.01117, allocations: 0 / 380.1 MB, free: 64 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002818/0.01399, allocations: 1.867 MB / 382 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01399, allocations: 0 / 382 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01399, allocations: 0 / 382 MB, free: 14.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.014, allocations: 0 / 382 MB, free: 14.19 MB / 362.7 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.0008401/0.01484, allocations: 363.3 kB / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.01488, allocations: 8.031 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.01492, allocations: 8.938 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.01503, allocations: 101.8 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.01504, allocations: 384 / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.01505, allocations: 384 / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.01517, allocations: 59.91 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.01517, allocations: 3.938 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.01519, allocations: 3.984 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.01519, allocations: 0 / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.798e-05/0.01523, allocations: 29.7 kB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.01536, allocations: 97.33 kB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.798e-05/0.01542, allocations: 48.31 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.01546, allocations: 30.56 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/0.01547, allocations: 0 / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.349e-05/0.01553, allocations: 72.19 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.01553, allocations: 0 / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002316/0.01577, allocations: 118.8 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.01583, allocations: 77.11 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.29e-05/0.01591, allocations: 89.86 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.01593, allocations: 25.7 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.01597, allocations: 84.12 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.01599, allocations: 8.125 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.01602, allocations: 9.719 kB / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003914/0.01641, allocations: 314.8 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.229e-05/0.01644, allocations: 29.7 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.538e-05/0.01647, allocations: 29.64 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.108e-05/0.01654, allocations: 60.27 kB / 383.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01654, allocations: 0 / 383.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001107/0.01665, allocations: 93.09 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.01669, allocations: 29.7 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01669, allocations: 4.094 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.01672, allocations: 11.94 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.01672, allocations: 0 / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.01672, allocations: 0 / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.01674, allocations: 3.953 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.01675, allocations: 0 / 383.8 MB, free: 12.14 MB / 362.7 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.0001249/0.01687, allocations: 139.5 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.01688, allocations: 3.938 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.065e-06/0.01689, allocations: 3 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.0169, allocations: 11.92 kB / 383.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.0169, allocations: 4 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.01691, allocations: 0 / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.349e-05/0.017, allocations: 97.33 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.017, allocations: 3.984 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.017, allocations: 0 / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.01701, allocations: 0 / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.01701, allocations: 4 kB / 384 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.01701, allocations: 0 / 384 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.01702, allocations: 3.938 kB / 384 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.01715, allocations: 112.5 kB / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.01716, allocations: 7.938 kB / 384.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.01718, allocations: 8.031 kB / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.188e-06/0.01719, allocations: 0 / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.0172, allocations: 3.938 kB / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.01721, allocations: 0 / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.358e-05/0.01725, allocations: 79.22 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01725, allocations: 0 / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001034/0.01828, allocations: 295.6 kB / 384.5 MB, free: 11.3 MB / 362.7 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.001861/0.02014, allocations: 0.5162 MB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.02029, allocations: 106.8 kB / 385.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.02029, allocations: 4.062 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.062e-05/0.02036, allocations: 85.09 kB / 385.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.0205, allocations: 4 kB / 385.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.02074, allocations: 111.9 kB / 385.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.725e-05/0.0208, allocations: 55.34 kB / 385.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.989e-06/0.02081, allocations: 0 / 385.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.02082, allocations: 12.5 kB / 385.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02082, allocations: 0 / 385.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of Templates: time 0.01468/0.03551, allocations: 7.421 MB / 392.9 MB, free: 2.898 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.198909911909141]