Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001028/0.001028, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001139/0.001139, allocations: 168 kB / 24.99 MB, free: 8.289 MB / 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.073/1.073, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2824/0.2824, allocations: 32.8 MB / 294.6 MB, free: 1.297 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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 376 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.777e-05, allocations: 6.312 kB / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001184/0.001212, allocations: 0.512 MB / 376.5 MB, free: 4.488 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005498/0.00671, allocations: 4.655 MB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.17e-05/0.006731, allocations: 4 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.006747, allocations: 0 / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.374e-06/0.006755, allocations: 3.938 kB / 381.2 MB, free: 15.79 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.005343/0.0121, allocations: 3.275 MB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.649e-05/0.01215, allocations: 0 / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.0122, allocations: 0 / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.729e-05/0.01222, allocations: 0 / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.643e-05/0.01224, allocations: 4 kB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.424e-06/0.01225, allocations: 3.938 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0199/0.03214, allocations: 19.81 MB / 404.2 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.03216, allocations: 0 / 404.2 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.03218, allocations: 4 kB / 404.2 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03545/0.06763, allocations: 30.71 MB / 435 MB, free: 9.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.06764, allocations: 4 kB / 435 MB, free: 9.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.06764, allocations: 0 / 435 MB, free: 9.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.06765, allocations: 0 / 435 MB, free: 9.91 MB / 410.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.00708/0.07473, allocations: 0.6978 MB / 435.7 MB, free: 9.168 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.07477, allocations: 8.031 kB / 435.7 MB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.07481, allocations: 1.281 kB / 435.7 MB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.78e-05/0.07488, allocations: 116.2 kB / 435.8 MB, free: 9.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.07489, allocations: 0 / 435.8 MB, free: 9.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.0749, allocations: 4 kB / 435.8 MB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.586e-05/0.075, allocations: 63.28 kB / 435.8 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.07501, allocations: 0 / 435.8 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.07501, allocations: 0 / 435.8 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.07502, allocations: 0 / 435.8 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.07504, allocations: 29.7 kB / 435.9 MB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.079e-05/0.07513, allocations: 112.6 kB / 436 MB, free: 8.762 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.867e-05/0.07518, allocations: 60.78 kB / 436 MB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.0752, allocations: 33.39 kB / 436.1 MB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-06/0.0752, allocations: 0 / 436.1 MB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.07524, allocations: 71.09 kB / 436.1 MB, free: 8.555 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.07524, allocations: 0 / 436.1 MB, free: 8.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001804/0.07542, allocations: 122.8 kB / 436.3 MB, free: 8.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.07546, allocations: 77.11 kB / 436.3 MB, free: 8.316 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.645e-05/0.07551, allocations: 142.2 kB / 436.5 MB, free: 8.164 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.07552, allocations: 25.7 kB / 436.5 MB, free: 8.133 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.721e-05/0.07554, allocations: 126.9 kB / 436.6 MB, free: 8.004 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.07556, allocations: 4 kB / 436.6 MB, free: 8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.07559, allocations: 15.38 kB / 436.6 MB, free: 7.977 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.0757, allocations: 492.1 kB / 437.1 MB, free: 7.484 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.07572, allocations: 33.81 kB / 437.2 MB, free: 7.445 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.252e-05/0.07573, allocations: 29.7 kB / 437.2 MB, free: 7.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.03e-05/0.07578, allocations: 71.03 kB / 437.3 MB, free: 7.324 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.07579, allocations: 3.938 kB / 437.3 MB, free: 7.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.182e-05/0.07585, allocations: 89.11 kB / 437.3 MB, free: 7.215 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.07588, allocations: 33.69 kB / 437.4 MB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.07588, allocations: 0 / 437.4 MB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.0759, allocations: 4 kB / 437.4 MB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.303e-06/0.0759, allocations: 0 / 437.4 MB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.0759, allocations: 96 / 437.4 MB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.07592, allocations: 4 kB / 437.4 MB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.07592, allocations: 0 / 437.4 MB, free: 7.168 MB / 410.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 7.39e-05/0.076, allocations: 190.2 kB / 437.6 MB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-06/0.076, allocations: 0 / 437.6 MB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.014e-05/0.07601, allocations: 6.984 kB / 437.6 MB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.07601, allocations: 0 / 437.6 MB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.07602, allocations: 4 kB / 437.6 MB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.07602, allocations: 7.875 kB / 437.6 MB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.835e-05/0.07608, allocations: 104.6 kB / 437.7 MB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.07608, allocations: 3.938 kB / 437.7 MB, free: 6.809 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.07608, allocations: 4 kB / 437.7 MB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.61e-07/0.07608, allocations: 0 / 437.7 MB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.07609, allocations: 4 kB / 437.7 MB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.07609, allocations: 0 / 437.7 MB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.07609, allocations: 0 / 437.7 MB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.64e-05/0.07618, allocations: 127.8 kB / 437.8 MB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-06/0.07618, allocations: 3.938 kB / 437.8 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.0762, allocations: 4 kB / 437.8 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-06/0.0762, allocations: 3.984 kB / 437.8 MB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.07622, allocations: 3.984 kB / 437.8 MB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.07622, allocations: 4.031 kB / 437.8 MB, free: 6.621 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.016e-05/0.07625, allocations: 119.2 kB / 438 MB, free: 6.504 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07625, allocations: 4 kB / 438 MB, free: 6.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01044/0.08668, allocations: 3.787 MB / 441.8 MB, free: 2.711 MB / 410.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.01842/0.1051, allocations: 1.073 MB / 442.8 MB, free: 1.656 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.1052, allocations: 122.5 kB / 443 MB, free: 1.508 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1052, allocations: 0 / 443 MB, free: 1.508 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.725e-05/0.1053, allocations: 96.84 kB / 443 MB, free: 1.391 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.284e-05/0.1053, allocations: 7.938 kB / 443.1 MB, free: 1.383 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001701/0.1055, allocations: 121.5 kB / 443.2 MB, free: 1.227 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.604e-05/0.1055, allocations: 51.38 kB / 443.2 MB, free: 1.156 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.278e-06/0.1055, allocations: 0 / 443.2 MB, free: 1.156 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.29e-05/0.1056, allocations: 12.5 kB / 443.2 MB, free: 1.141 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1056, allocations: 0 / 443.2 MB, free: 1.141 MB / 410.7 MB Notification: Performance of Templates: time 0.2478/0.3534, allocations: 116.9 MB / 0.547 GB, free: 3.512 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 8.696978085208684]