Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001575/0.001575, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.72/1.72, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009154/0.0009153, allocations: 106.8 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3755/0.3755, allocations: 44.83 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 71.88 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3555, allocations: 62.01 MB / 0.5151 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001739/0.3573, allocations: 0.5602 MB / 0.5157 GB, free: 37.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006908/0.3642, allocations: 5.168 MB / 0.5207 GB, free: 34.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.369e-05/0.3643, allocations: 0 / 0.5207 GB, free: 34.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.3643, allocations: 0 / 0.5207 GB, free: 34.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.903e-06/0.3643, allocations: 0 / 0.5207 GB, free: 34.15 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.005438/0.3698, allocations: 2.582 MB / 0.5233 GB, free: 33.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.379e-05/0.3698, allocations: 6.625 kB / 0.5233 GB, free: 33.35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.3699, allocations: 0 / 0.5233 GB, free: 33.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.528e-05/0.3699, allocations: 6.688 kB / 0.5233 GB, free: 33.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.586e-05/0.3699, allocations: 3.984 kB / 0.5233 GB, free: 33.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.27e-06/0.3699, allocations: 7.938 kB / 0.5233 GB, free: 33.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.034/0.4039, allocations: 18.92 MB / 0.5418 GB, free: 29.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.404, allocations: 0 / 0.5418 GB, free: 29.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.404, allocations: 5.672 kB / 0.5418 GB, free: 29.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04574/0.4498, allocations: 27.05 MB / 0.5682 GB, free: 3.305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/0.4498, allocations: 4 kB / 0.5682 GB, free: 3.301 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4499, allocations: 4 kB / 0.5682 GB, free: 3.297 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.4499, allocations: 0 / 0.5682 GB, free: 3.297 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.009017/0.4589, allocations: 0.6516 MB / 0.5688 GB, free: 2.594 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.459, allocations: 12.03 kB / 0.5688 GB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.299e-05/0.4591, allocations: 4.938 kB / 0.5688 GB, free: 2.578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.351e-05/0.4592, allocations: 167.2 kB / 0.569 GB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.4592, allocations: 0 / 0.569 GB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.4592, allocations: 0 / 0.569 GB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.4594, allocations: 37.64 kB / 0.569 GB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4594, allocations: 0 / 0.569 GB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.4594, allocations: 0 / 0.569 GB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4594, allocations: 0 / 0.569 GB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.912e-05/0.4595, allocations: 4 kB / 0.569 GB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.4596, allocations: 153.6 kB / 0.5692 GB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.93e-05/0.4597, allocations: 14.58 kB / 0.5692 GB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.369e-05/0.4597, allocations: 8.953 kB / 0.5692 GB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.4598, allocations: 4 kB / 0.5692 GB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.4598, allocations: 64.14 kB / 0.5693 GB, free: 2.012 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.004e-06/0.4598, allocations: 0 / 0.5693 GB, free: 2.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000204/0.4601, allocations: 67.39 kB / 0.5693 GB, free: 1.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.4601, allocations: 77.11 kB / 0.5694 GB, free: 1.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.126e-05/0.4601, allocations: 89.86 kB / 0.5695 GB, free: 1.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.4602, allocations: 25.7 kB / 0.5695 GB, free: 1.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.191e-05/0.4602, allocations: 84.27 kB / 0.5696 GB, free: 1.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.4602, allocations: 4 kB / 0.5696 GB, free: 1.621 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.4603, allocations: 9.719 kB / 0.5696 GB, free: 1.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.4603, allocations: 314.8 kB / 0.5699 GB, free: 1.289 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.414e-05/0.4604, allocations: 4 kB / 0.5699 GB, free: 1.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.042e-05/0.4604, allocations: 0 / 0.5699 GB, free: 1.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.026e-05/0.4605, allocations: 72.19 kB / 0.57 GB, free: 1.199 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4605, allocations: 0 / 0.57 GB, free: 1.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.777e-05/0.4606, allocations: 67.38 kB / 0.5701 GB, free: 1.121 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.4606, allocations: 29.7 kB / 0.5701 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4606, allocations: 0 / 0.5701 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4607, allocations: 3.938 kB / 0.5701 GB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-06/0.4607, allocations: 3.984 kB / 0.5701 GB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4607, allocations: 0 / 0.5701 GB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.458e-05/0.4607, allocations: 4 kB / 0.5701 GB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.4607, allocations: 3.938 kB / 0.5701 GB, free: 1.07 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.125e-05/0.4608, allocations: 139.5 kB / 0.5702 GB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.4609, allocations: 8.031 kB / 0.5702 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.053e-05/0.4609, allocations: 3.125 kB / 0.5702 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4609, allocations: 0 / 0.5702 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4609, allocations: 0 / 0.5702 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4609, allocations: 0 / 0.5702 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.086e-05/0.461, allocations: 149.6 kB / 0.5704 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.461, allocations: 0 / 0.5704 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.461, allocations: 7.938 kB / 0.5704 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.461, allocations: 0 / 0.5704 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.4611, allocations: 0 / 0.5704 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.4611, allocations: 0 / 0.5704 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4611, allocations: 8 kB / 0.5704 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.4615, allocations: 0.653 MB / 0.571 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.4616, allocations: 81.05 kB / 0.5711 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.4616, allocations: 3.938 kB / 0.5711 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.676e-05/0.4616, allocations: 4 kB / 0.5711 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.4617, allocations: 4.031 kB / 0.5711 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.4617, allocations: 0 / 0.5711 GB, free: 15.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.554e-05/0.4617, allocations: 75.28 kB / 0.5712 GB, free: 15.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4617, allocations: 0 / 0.5712 GB, free: 15.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01407/0.4758, allocations: 3.785 MB / 0.5749 GB, free: 12.01 MB / 394.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.0194/0.4953, allocations: 0.9781 MB / 0.5758 GB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.4955, allocations: 67.33 kB / 0.5759 GB, free: 10.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4955, allocations: 0 / 0.5759 GB, free: 10.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.585e-05/0.4955, allocations: 59.41 kB / 0.576 GB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.4957, allocations: 0 / 0.576 GB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.496, allocations: 181.4 kB / 0.5761 GB, free: 10.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.4962, allocations: 0.6731 MB / 0.5768 GB, free: 9.984 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.448e-06/0.4962, allocations: 0 / 0.5768 GB, free: 9.984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.696e-06/0.4962, allocations: 7.438 kB / 0.5768 GB, free: 9.98 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4962, allocations: 8.125 kB / 0.5768 GB, free: 9.973 MB / 394.7 MB Notification: Performance of Templates: time 0.398/0.8943, allocations: 112.6 MB / 0.6867 GB, free: 46.86 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1)