Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 75.88 kB / 481.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4332, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.002047/0.4353, allocations: 0.4946 MB / 0.5315 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002874/0.4382, allocations: 1.556 MB / 0.533 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.4382, allocations: 0 / 0.533 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.4383, allocations: 0 / 0.533 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.736e-06/0.4383, allocations: 0 / 0.533 GB, free: 12.02 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.4393, allocations: 227.1 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.717e-05/0.4394, allocations: 2.469 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.4395, allocations: 7.922 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.082e-05/0.4395, allocations: 1.531 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.63e-05/0.4395, allocations: 4 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.234e-06/0.4395, allocations: 1.625 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.4407, allocations: 0.7103 MB / 0.5339 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.4408, allocations: 1.094 kB / 0.5339 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.4408, allocations: 0 / 0.5339 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009448/0.4417, allocations: 0.6414 MB / 0.5345 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4417, allocations: 0 / 0.5345 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4418, allocations: 0 / 0.5345 GB, free: 11.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.4418, allocations: 1.25 kB / 0.5345 GB, free: 11.26 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.0005063/0.4423, allocations: 374.7 kB / 0.5349 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.4423, allocations: 9.938 kB / 0.5349 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.4424, allocations: 2.031 kB / 0.5349 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.4425, allocations: 164.4 kB / 0.5351 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.4425, allocations: 384 / 0.5351 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.4425, allocations: 1.406 kB / 0.5351 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.4427, allocations: 36.05 kB / 0.5351 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.4427, allocations: 4.984 kB / 0.5351 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.4427, allocations: 0 / 0.5351 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4427, allocations: 1.344 kB / 0.5351 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.4427, allocations: 5.125 kB / 0.5351 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.4429, allocations: 146.7 kB / 0.5352 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.078e-05/0.4429, allocations: 20.72 kB / 0.5353 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/0.443, allocations: 13.92 kB / 0.5353 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.443, allocations: 0 / 0.5353 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.786e-05/0.4431, allocations: 61.14 kB / 0.5353 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.4431, allocations: 4.969 kB / 0.5353 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000219/0.4433, allocations: 67.45 kB / 0.5354 GB, free: 10.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.4434, allocations: 77.11 kB / 0.5355 GB, free: 10.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.507e-05/0.4434, allocations: 93.81 kB / 0.5356 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.4435, allocations: 27.05 kB / 0.5356 GB, free: 9.996 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.4435, allocations: 80.14 kB / 0.5357 GB, free: 9.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.4435, allocations: 0 / 0.5357 GB, free: 9.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.4436, allocations: 12.28 kB / 0.5357 GB, free: 9.898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.4437, allocations: 320.2 kB / 0.536 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.4437, allocations: 0 / 0.536 GB, free: 9.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-06/0.4437, allocations: 5.094 kB / 0.536 GB, free: 9.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.232e-05/0.4438, allocations: 67.84 kB / 0.5361 GB, free: 9.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4438, allocations: 0 / 0.5361 GB, free: 9.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.069e-05/0.4439, allocations: 57.72 kB / 0.5361 GB, free: 9.434 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.444, allocations: 35.2 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.444, allocations: 1.312 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.444, allocations: 4.094 kB / 0.5361 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.444, allocations: 0 / 0.5361 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.444, allocations: 1.188 kB / 0.5362 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.444, allocations: 0 / 0.5362 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.4441, allocations: 9.047 kB / 0.5362 GB, free: 9.387 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.0001125/0.4442, allocations: 142.1 kB / 0.5363 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.4442, allocations: 9.125 kB / 0.5363 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.199e-05/0.4442, allocations: 3.125 kB / 0.5363 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.4442, allocations: 0 / 0.5363 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.4442, allocations: 5.125 kB / 0.5363 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4442, allocations: 4 kB / 0.5363 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.4444, allocations: 146.8 kB / 0.5365 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.4444, allocations: 0.8125 kB / 0.5365 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-07/0.4444, allocations: 0 / 0.5365 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4444, allocations: 4.875 kB / 0.5365 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.4444, allocations: 1.094 kB / 0.5365 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.4444, allocations: 0 / 0.5365 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4444, allocations: 1.062 kB / 0.5365 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.4445, allocations: 93.02 kB / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.4446, allocations: 78.23 kB / 0.5366 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.4446, allocations: 5.031 kB / 0.5366 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-06/0.4446, allocations: 0 / 0.5366 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.4446, allocations: 5.172 kB / 0.5366 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.4446, allocations: 4.938 kB / 0.5366 GB, free: 8.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.067e-05/0.4447, allocations: 75.28 kB / 0.5367 GB, free: 8.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4447, allocations: 3.938 kB / 0.5367 GB, free: 8.734 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006144/0.4453, allocations: 128.5 kB / 0.5368 GB, free: 8.715 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.0007605/0.4461, allocations: 166.3 kB / 0.537 GB, free: 8.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.885e-05/0.4462, allocations: 68.7 kB / 0.5371 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4462, allocations: 0 / 0.5371 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.4462, allocations: 55.28 kB / 0.5371 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.4464, allocations: 1.25 kB / 0.5371 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001918/0.4466, allocations: 75.59 kB / 0.5372 GB, free: 8.367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.4469, allocations: 0.6738 MB / 0.5378 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.122e-06/0.4469, allocations: 4.906 kB / 0.5379 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.403e-05/0.447, allocations: 7.438 kB / 0.5379 GB, free: 7.656 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.447, allocations: 5.156 kB / 0.5379 GB, free: 7.652 MB / 398.1 MB Notification: Performance of Templates: time 0.01107/0.4581, allocations: 3.922 MB / 0.5417 GB, free: 5.617 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1)