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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002507/0.002507, allocations: 196.1 kB / 22.98 MB, free: 5.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 251.6 MB, free: 13.3 MB / 206.1 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.2222/0.2222, allocations: 44.92 MB / 351.6 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001967/0.001967, allocations: 79.86 kB / 495.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4281, allocations: 64.25 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001686/0.4297, allocations: 0.4963 MB / 0.5468 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003439/0.4332, allocations: 2.123 MB / 0.5489 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.844e-05/0.4332, allocations: 0 / 0.5489 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.4332, allocations: 0 / 0.5489 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.623e-06/0.4332, allocations: 0 / 0.5489 GB, free: 11.17 MB / 398.1 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.001975/0.4352, allocations: 0.7291 MB / 0.5496 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.994e-05/0.4353, allocations: 5.344 kB / 0.5496 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.4353, allocations: 1.219 kB / 0.5496 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.313e-05/0.4353, allocations: 3.938 kB / 0.5496 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.392e-05/0.4354, allocations: 5.656 kB / 0.5496 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.4354, allocations: 0 / 0.5496 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.4381, allocations: 1.579 MB / 0.5512 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.4381, allocations: 0 / 0.5512 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.4381, allocations: 5.125 kB / 0.5512 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.4405, allocations: 1.545 MB / 0.5527 GB, free: 9.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4405, allocations: 0 / 0.5527 GB, free: 9.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4405, allocations: 0 / 0.5527 GB, free: 9.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.4405, allocations: 0 / 0.5527 GB, free: 9.18 MB / 398.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.0008725/0.4414, allocations: 428.5 kB / 0.5531 GB, free: 8.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.4414, allocations: 10.53 kB / 0.5531 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.4415, allocations: 0.9375 kB / 0.5531 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.4416, allocations: 160.4 kB / 0.5533 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.4417, allocations: 1.5 kB / 0.5533 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.4417, allocations: 5.281 kB / 0.5533 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.4418, allocations: 36.03 kB / 0.5533 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4418, allocations: 3.984 kB / 0.5533 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.4418, allocations: 4 kB / 0.5533 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.4418, allocations: 1 kB / 0.5533 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.4418, allocations: 1.125 kB / 0.5533 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.442, allocations: 150.7 kB / 0.5535 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.107e-05/0.4421, allocations: 16.89 kB / 0.5535 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.4421, allocations: 9.891 kB / 0.5535 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/0.4421, allocations: 0 / 0.5535 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.951e-05/0.4422, allocations: 69.44 kB / 0.5536 GB, free: 8.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.4422, allocations: 0 / 0.5536 GB, free: 8.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002273/0.4424, allocations: 63.44 kB / 0.5536 GB, free: 8.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.4424, allocations: 77.11 kB / 0.5537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.069e-05/0.4425, allocations: 91.02 kB / 0.5538 GB, free: 7.918 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.4425, allocations: 25.7 kB / 0.5538 GB, free: 7.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.4426, allocations: 80.14 kB / 0.5539 GB, free: 7.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.4426, allocations: 5.031 kB / 0.5539 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.4426, allocations: 24.14 kB / 0.5539 GB, free: 7.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4428, allocations: 310.8 kB / 0.5542 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/0.4428, allocations: 1.125 kB / 0.5542 GB, free: 7.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-06/0.4428, allocations: 1.25 kB / 0.5542 GB, free: 7.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.824e-05/0.4429, allocations: 67.39 kB / 0.5543 GB, free: 7.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.4429, allocations: 0 / 0.5543 GB, free: 7.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.812e-05/0.4429, allocations: 70.7 kB / 0.5543 GB, free: 7.309 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.443, allocations: 30.86 kB / 0.5544 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.443, allocations: 4.094 kB / 0.5544 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.443, allocations: 0.6562 kB / 0.5544 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.443, allocations: 1.219 kB / 0.5544 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.443, allocations: 0 / 0.5544 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.443, allocations: 4.797 kB / 0.5544 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.443, allocations: 1.062 kB / 0.5544 GB, free: 7.27 MB / 398.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.0001086/0.4431, allocations: 134.5 kB / 0.5545 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.4432, allocations: 8.953 kB / 0.5545 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.249e-05/0.4432, allocations: 3.125 kB / 0.5545 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4432, allocations: 5.125 kB / 0.5545 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4432, allocations: 0 / 0.5545 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.4432, allocations: 0 / 0.5545 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.4433, allocations: 147 kB / 0.5547 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4433, allocations: 5.031 kB / 0.5547 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.4433, allocations: 0 / 0.5547 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4433, allocations: 4.953 kB / 0.5547 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.4433, allocations: 0 / 0.5547 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.4433, allocations: 5.125 kB / 0.5547 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4433, allocations: 0 / 0.5547 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.4434, allocations: 89.47 kB / 0.5548 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.4435, allocations: 86.56 kB / 0.5548 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.4435, allocations: 0 / 0.5548 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.114e-05/0.4435, allocations: 5.375 kB / 0.5549 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.766e-06/0.4435, allocations: 0 / 0.5549 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.4435, allocations: 1.188 kB / 0.5549 GB, free: 6.699 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.09e-05/0.4436, allocations: 75.28 kB / 0.5549 GB, free: 6.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4436, allocations: 5.375 kB / 0.5549 GB, free: 6.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001266/0.4448, allocations: 282.7 kB / 0.5552 GB, free: 6.43 MB / 398.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.001462/0.4463, allocations: 419.5 kB / 0.5556 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.4464, allocations: 63.39 kB / 0.5557 GB, free: 5.949 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4464, allocations: 4 kB / 0.5557 GB, free: 5.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.183e-05/0.4465, allocations: 51.41 kB / 0.5557 GB, free: 5.883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.4466, allocations: 7.938 kB / 0.5557 GB, free: 5.875 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002254/0.4468, allocations: 81.2 kB / 0.5558 GB, free: 5.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.4471, allocations: 0.6766 MB / 0.5565 GB, free: 5.066 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.062e-05/0.4471, allocations: 0 / 0.5565 GB, free: 5.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.4472, allocations: 7.438 kB / 0.5565 GB, free: 5.059 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4472, allocations: 4 kB / 0.5565 GB, free: 5.055 MB / 398.1 MB Notification: Performance of Templates: time 0.01523/0.4624, allocations: 7.307 MB / 0.5636 GB, free: 13.74 MB / 414.1 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.463307495228946]