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.001025/0.001025, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001486/0.001486, allocations: 165 kB / 24.56 MB, free: 12 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.035/1.035, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.279/0.279, allocations: 32.8 MB / 294.3 MB, free: 1.293 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 3.116e-06/3.116e-06, allocations: 0 / 376 MB, free: 4.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.143e-05/5.454e-05, allocations: 6.25 kB / 376 MB, free: 4.711 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.002619/0.002674, allocations: 0.5007 MB / 376.5 MB, free: 4.207 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003857/0.00653, allocations: 2.122 MB / 378.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.006561, allocations: 0 / 378.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.376e-05/0.006584, allocations: 0 / 378.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.815e-06/0.006592, allocations: 0 / 378.6 MB, free: 2.062 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.00237/0.008962, allocations: 0.7635 MB / 379.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.086e-05/0.009023, allocations: 7.938 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.009065, allocations: 0 / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.879e-05/0.009094, allocations: 0 / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.013e-05/0.009114, allocations: 3.984 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.814e-06/0.009122, allocations: 4 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.01062, allocations: 1.552 MB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.01064, allocations: 4 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.01066, allocations: 0 / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.01194, allocations: 1.867 MB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01195, allocations: 0 / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.01195, allocations: 0 / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.01196, allocations: 4 kB / 382.8 MB, free: 13.85 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.0004402/0.0124, allocations: 465.3 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.01244, allocations: 8.031 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.01248, allocations: 4.938 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.673e-05/0.01254, allocations: 104.6 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.01255, allocations: 384 / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.01256, allocations: 384 / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.386e-05/0.01265, allocations: 63.89 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.01266, allocations: 3.938 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.01267, allocations: 0 / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.01268, allocations: 4 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.987e-05/0.0127, allocations: 29.7 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.706e-05/0.0128, allocations: 108.6 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.084e-05/0.01285, allocations: 56.8 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.01287, allocations: 33.39 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-06/0.01287, allocations: 0 / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.01291, allocations: 71.08 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 4.61e-07/0.01291, allocations: 0 / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001626/0.01307, allocations: 118.8 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.01311, allocations: 81.22 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.982e-05/0.01315, allocations: 146.2 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.01315, allocations: 25.7 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.439e-05/0.01318, allocations: 126.9 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.0132, allocations: 8.297 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/0.01322, allocations: 15.38 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.01332, allocations: 492.1 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.01334, allocations: 33.7 kB / 384.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/0.01336, allocations: 29.64 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.01339, allocations: 67.08 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.0134, allocations: 4.062 kB / 384.9 MB, free: 11.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.161e-05/0.01345, allocations: 85.11 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.01348, allocations: 31.73 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01348, allocations: 4 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.0135, allocations: 7.938 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-06/0.0135, allocations: 0 / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.01351, allocations: 0 / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.306e-05/0.01352, allocations: 3.984 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.01353, allocations: 0 / 385 MB, free: 11.36 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 6.61e-05/0.01359, allocations: 186.3 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-06/0.0136, allocations: 7.969 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.078e-05/0.01361, allocations: 3 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01361, allocations: 3.938 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.01361, allocations: 4 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.01362, allocations: 0 / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.785e-05/0.01369, allocations: 108.6 kB / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.01369, allocations: 0 / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.01369, allocations: 0 / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.01369, allocations: 0 / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.01369, allocations: 7.938 kB / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.01369, allocations: 0 / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.0137, allocations: 7.938 kB / 385.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.92e-05/0.01378, allocations: 131.8 kB / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-06/0.01378, allocations: 4 kB / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.0138, allocations: 4 kB / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.568e-06/0.0138, allocations: 0 / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.01381, allocations: 3.938 kB / 385.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.01381, allocations: 0 / 385.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.76e-05/0.01384, allocations: 123.1 kB / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01384, allocations: 0 / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004621/0.0143, allocations: 295.6 kB / 385.9 MB, free: 10.4 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.0009951/0.0153, allocations: 0.522 MB / 386.4 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.01541, allocations: 114.5 kB / 386.5 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01541, allocations: 0 / 386.5 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.198e-05/0.01544, allocations: 96.78 kB / 386.6 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.791e-05/0.01554, allocations: 7.984 kB / 386.6 MB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001901/0.01573, allocations: 113.6 kB / 386.7 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.934e-05/0.01576, allocations: 55.34 kB / 386.8 MB, free: 9.406 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.08e-06/0.01576, allocations: 0 / 386.8 MB, free: 9.406 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/0.01578, allocations: 16.56 kB / 386.8 MB, free: 9.391 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01578, allocations: 4 kB / 386.8 MB, free: 9.387 MB / 362.7 MB Notification: Performance of Templates: time 0.008539/0.02432, allocations: 7.527 MB / 394.3 MB, free: 1.852 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.4282400556840003]