Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009698/0.009698, allocations: 176.4 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.761/1.761, allocations: 194.5 MB / 210.3 MB, free: 7.617 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001752/0.001752, allocations: 124.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.233/0.233, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003823, allocations: 10.97 kB / 406.1 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1068, allocations: 54.87 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3549/0.4617, allocations: 83.79 MB / 0.532 GB, free: 81.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001715/0.4619, allocations: 66.19 kB / 0.5321 GB, free: 81.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06446/0.5264, allocations: 25.71 MB / 0.5572 GB, free: 68.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5265, allocations: 3.938 kB / 0.5572 GB, free: 68.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.5265, allocations: 0 / 0.5572 GB, free: 68.84 MB / 378.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.0005645/0.527, allocations: 440.9 kB / 0.5576 GB, free: 68.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.5271, allocations: 12.03 kB / 0.5576 GB, free: 68.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.5271, allocations: 0 / 0.5576 GB, free: 68.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.763e-05/0.5272, allocations: 159.1 kB / 0.5578 GB, free: 68.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.5272, allocations: 0 / 0.5578 GB, free: 68.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.5272, allocations: 4 kB / 0.5578 GB, free: 68.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.441e-05/0.5273, allocations: 29.7 kB / 0.5578 GB, free: 68.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5273, allocations: 0 / 0.5578 GB, free: 68.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.5273, allocations: 3.953 kB / 0.5578 GB, free: 68.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.5273, allocations: 3.938 kB / 0.5578 GB, free: 68.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.687e-05/0.5273, allocations: 7.922 kB / 0.5578 GB, free: 68.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.156e-05/0.5274, allocations: 153.7 kB / 0.558 GB, free: 67.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.162e-05/0.5275, allocations: 22.52 kB / 0.558 GB, free: 67.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.5275, allocations: 0 / 0.558 GB, free: 67.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.5275, allocations: 60.36 kB / 0.5581 GB, free: 67.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.5275, allocations: 0 / 0.5581 GB, free: 67.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001586/0.5277, allocations: 67.33 kB / 0.5581 GB, free: 67.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.5277, allocations: 85.06 kB / 0.5582 GB, free: 67.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.023e-05/0.5278, allocations: 85 kB / 0.5583 GB, free: 67.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.5278, allocations: 25.7 kB / 0.5583 GB, free: 67.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.405e-05/0.5278, allocations: 84.27 kB / 0.5584 GB, free: 67.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.5278, allocations: 0 / 0.5584 GB, free: 67.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-06/0.5278, allocations: 0 / 0.5584 GB, free: 67.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.419e-05/0.5279, allocations: 310.8 kB / 0.5587 GB, free: 67.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/0.5279, allocations: 4 kB / 0.5587 GB, free: 67.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.917e-06/0.5279, allocations: 0 / 0.5587 GB, free: 67.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.007e-05/0.5279, allocations: 33.69 kB / 0.5587 GB, free: 67.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5279, allocations: 0 / 0.5587 GB, free: 67.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.919e-05/0.528, allocations: 63.47 kB / 0.5588 GB, free: 66.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.528, allocations: 29.7 kB / 0.5588 GB, free: 66.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.528, allocations: 0 / 0.5588 GB, free: 66.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5281, allocations: 4 kB / 0.5588 GB, free: 66.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.5281, allocations: 3.938 kB / 0.5588 GB, free: 66.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.5281, allocations: 0 / 0.5588 GB, free: 66.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.241e-05/0.5281, allocations: 0 / 0.5588 GB, free: 66.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.5281, allocations: 3.953 kB / 0.5588 GB, free: 66.93 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.5282, allocations: 139.5 kB / 0.559 GB, free: 66.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-06/0.5282, allocations: 4.031 kB / 0.559 GB, free: 66.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.044e-05/0.5282, allocations: 3.125 kB / 0.559 GB, free: 66.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.5282, allocations: 0 / 0.559 GB, free: 66.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5282, allocations: 0 / 0.559 GB, free: 66.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.5282, allocations: 0 / 0.559 GB, free: 66.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.814e-05/0.5283, allocations: 157.6 kB / 0.5591 GB, free: 66.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.5283, allocations: 0 / 0.5591 GB, free: 66.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.5283, allocations: 0 / 0.5591 GB, free: 66.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.5283, allocations: 0 / 0.5591 GB, free: 66.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.5283, allocations: 0 / 0.5591 GB, free: 66.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5283, allocations: 0 / 0.5591 GB, free: 66.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5283, allocations: 11.94 kB / 0.5591 GB, free: 66.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.423e-05/0.5284, allocations: 90.78 kB / 0.5592 GB, free: 66.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.5284, allocations: 81.05 kB / 0.5593 GB, free: 66.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.5284, allocations: 7.938 kB / 0.5593 GB, free: 66.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-06/0.5285, allocations: 3.984 kB / 0.5593 GB, free: 66.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.5285, allocations: 0 / 0.5593 GB, free: 66.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.5285, allocations: 0 / 0.5593 GB, free: 66.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.715e-05/0.5285, allocations: 79.31 kB / 0.5594 GB, free: 66.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5285, allocations: 0 / 0.5594 GB, free: 66.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004539/0.529, allocations: 151.9 kB / 0.5595 GB, free: 66.11 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000745/0.5297, allocations: 359 kB / 0.5599 GB, free: 65.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.308e-05/0.5298, allocations: 59.41 kB / 0.5599 GB, free: 65.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5298, allocations: 0 / 0.5599 GB, free: 65.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.746e-05/0.5298, allocations: 55.41 kB / 0.56 GB, free: 65.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.697e-05/0.5299, allocations: 8.078 kB / 0.56 GB, free: 65.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001421/0.5301, allocations: 74.75 kB / 0.5601 GB, free: 65.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.636e-05/0.5302, allocations: 0.6731 MB / 0.5607 GB, free: 64.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.38e-06/0.5302, allocations: 0 / 0.5607 GB, free: 64.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-06/0.5302, allocations: 11.44 kB / 0.5607 GB, free: 64.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5302, allocations: 0 / 0.5607 GB, free: 64.8 MB / 378.7 MB Notification: Performance of Templates: time 0.006358/0.5366, allocations: 4.545 MB / 0.5652 GB, free: 60.25 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)