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.0009252/0.0009252, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0008995/0.0008995, allocations: 165 kB / 24.56 MB, free: 16 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 0.9125/0.9125, allocations: 177.1 MB / 205 MB, free: 5.27 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.2622/0.2622, allocations: 32.8 MB / 294.3 MB, free: 1.234 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.844e-06/1.844e-06, allocations: 0 / 376 MB, free: 4.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.374e-05, allocations: 2.312 kB / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001075/0.001098, allocations: 0.5077 MB / 376.5 MB, free: 4.191 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005168/0.006267, allocations: 4.682 MB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.417e-05/0.006291, allocations: 4 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.006309, allocations: 0 / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.076e-06/0.006317, allocations: 7.938 kB / 381.2 MB, free: 15.47 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.005862/0.01218, allocations: 3.267 MB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.668e-05/0.01224, allocations: 4 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.01228, allocations: 4 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.021e-05/0.01231, allocations: 0 / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.867e-05/0.01233, allocations: 0 / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.01234, allocations: 3.938 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02135/0.03369, allocations: 19.81 MB / 404.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.0337, allocations: 0 / 404.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.03373, allocations: 8 kB / 404.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03364/0.06737, allocations: 30.71 MB / 435 MB, free: 9.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.06738, allocations: 3.984 kB / 435 MB, free: 9.586 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.06738, allocations: 0 / 435 MB, free: 9.586 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.06739, allocations: 0 / 435 MB, free: 9.586 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.006583/0.07397, allocations: 0.6978 MB / 435.7 MB, free: 8.844 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.07401, allocations: 8.031 kB / 435.7 MB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.07405, allocations: 5.281 kB / 435.7 MB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.087e-05/0.0741, allocations: 108.2 kB / 435.8 MB, free: 8.699 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.07411, allocations: 0 / 435.8 MB, free: 8.699 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.07412, allocations: 0 / 435.8 MB, free: 8.699 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.798e-05/0.07421, allocations: 59.34 kB / 435.9 MB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.07422, allocations: 7.984 kB / 435.9 MB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.07422, allocations: 3.938 kB / 435.9 MB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.07423, allocations: 0 / 435.9 MB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.797e-05/0.07425, allocations: 33.7 kB / 435.9 MB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.576e-05/0.07433, allocations: 108.6 kB / 436 MB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.364e-05/0.07438, allocations: 52.8 kB / 436.1 MB, free: 8.367 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.0744, allocations: 33.39 kB / 436.1 MB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.017e-06/0.0744, allocations: 0 / 436.1 MB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.07444, allocations: 71.08 kB / 436.2 MB, free: 8.238 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.07444, allocations: 0 / 436.2 MB, free: 8.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001706/0.07461, allocations: 126.8 kB / 436.3 MB, free: 8.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.07465, allocations: 77.11 kB / 436.4 MB, free: 7.996 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.987e-05/0.07469, allocations: 146.2 kB / 436.5 MB, free: 7.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.07469, allocations: 25.7 kB / 436.5 MB, free: 7.809 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.571e-05/0.07472, allocations: 130.9 kB / 436.7 MB, free: 7.676 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.07474, allocations: 0 / 436.7 MB, free: 7.676 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.07476, allocations: 19.38 kB / 436.7 MB, free: 7.648 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.07486, allocations: 496.1 kB / 437.2 MB, free: 7.152 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.07488, allocations: 25.7 kB / 437.2 MB, free: 7.121 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.07489, allocations: 25.83 kB / 437.2 MB, free: 7.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/0.07493, allocations: 71.09 kB / 437.3 MB, free: 7.004 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.07494, allocations: 3.938 kB / 437.3 MB, free: 7 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.082e-05/0.075, allocations: 93.09 kB / 437.4 MB, free: 6.891 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.07503, allocations: 35.11 kB / 437.4 MB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.07503, allocations: 0 / 437.4 MB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.07505, allocations: 0 / 437.4 MB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.426e-06/0.07505, allocations: 0 / 437.4 MB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.07506, allocations: 0 / 437.4 MB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.07507, allocations: 0 / 437.4 MB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.07508, allocations: 3.984 kB / 437.4 MB, free: 6.848 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.021e-05/0.07515, allocations: 190.2 kB / 437.6 MB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-06/0.07515, allocations: 0 / 437.6 MB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.082e-05/0.07516, allocations: 7 kB / 437.6 MB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.07517, allocations: 0 / 437.6 MB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.07517, allocations: 4 kB / 437.6 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.07517, allocations: 3.938 kB / 437.6 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.638e-05/0.07523, allocations: 108.6 kB / 437.7 MB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.07523, allocations: 7.875 kB / 437.7 MB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-07/0.07523, allocations: 4 kB / 437.7 MB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.07523, allocations: 0 / 437.7 MB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.07524, allocations: 8 kB / 437.7 MB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.07524, allocations: 0 / 437.7 MB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.07524, allocations: 0 / 437.7 MB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.319e-05/0.07533, allocations: 123.8 kB / 437.9 MB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-06/0.07533, allocations: 7.938 kB / 437.9 MB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.07535, allocations: 0 / 437.9 MB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.198e-06/0.07535, allocations: 0 / 437.9 MB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.07536, allocations: 4 kB / 437.9 MB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.07536, allocations: 4 kB / 437.9 MB, free: 6.301 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.788e-05/0.07539, allocations: 119.2 kB / 438 MB, free: 6.184 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07539, allocations: 4.031 kB / 438 MB, free: 6.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009618/0.08501, allocations: 3.783 MB / 441.8 MB, free: 2.395 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.0159/0.1009, allocations: 1.089 MB / 442.9 MB, free: 1.328 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.1011, allocations: 114.5 kB / 443 MB, free: 1.188 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1011, allocations: 0 / 443 MB, free: 1.188 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.1011, allocations: 92.78 kB / 443.1 MB, free: 1.074 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.1012, allocations: 7.938 kB / 443.1 MB, free: 1.066 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.1015, allocations: 121.7 kB / 443.2 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.246e-05/0.1015, allocations: 55.36 kB / 443.3 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.172e-06/0.1015, allocations: 3.938 kB / 443.3 MB, free: 0.832 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.1015, allocations: 12.5 kB / 443.3 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of SimCode: time 1.243e-06/0.1015, allocations: 0 / 443.3 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of Templates: time 0.2799/0.3814, allocations: 116.9 MB / 0.547 GB, free: 8.57 MB / 426.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: 9.068427212070674]