Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001528/0.001528, allocations: 117.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001872/0.001872, allocations: 199.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4314, allocations: 62.45 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.00157/0.433, allocations: 497.5 kB / 0.5315 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.4359, allocations: 2.14 MB / 0.5335 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.873e-05/0.436, allocations: 0 / 0.5335 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.436, allocations: 0 / 0.5335 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.113e-06/0.436, allocations: 0 / 0.5335 GB, free: 11.54 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001816/0.4378, allocations: 0.7183 MB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.377e-05/0.4379, allocations: 9.281 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.438, allocations: 5.297 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.864e-05/0.438, allocations: 5.297 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.937e-05/0.438, allocations: 0 / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.712e-06/0.438, allocations: 1.344 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.4404, allocations: 1.507 MB / 0.5357 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.925e-06/0.4404, allocations: 1.094 kB / 0.5357 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.4405, allocations: 5.125 kB / 0.5357 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.4422, allocations: 1.555 MB / 0.5373 GB, free: 9.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4422, allocations: 0 / 0.5373 GB, free: 9.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4422, allocations: 0 / 0.5373 GB, free: 9.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.4422, allocations: 1.125 kB / 0.5373 GB, free: 9.594 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.0005861/0.4428, allocations: 412.5 kB / 0.5377 GB, free: 9.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.4428, allocations: 10.03 kB / 0.5377 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.4429, allocations: 0.9375 kB / 0.5377 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.878e-05/0.443, allocations: 161.5 kB / 0.5378 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.443, allocations: 4.375 kB / 0.5378 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.443, allocations: 5.25 kB / 0.5378 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.163e-05/0.4431, allocations: 27.98 kB / 0.5379 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4431, allocations: 7.922 kB / 0.5379 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.4431, allocations: 5.047 kB / 0.5379 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.4431, allocations: 0 / 0.5379 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.723e-05/0.4432, allocations: 1.156 kB / 0.5379 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.4433, allocations: 148 kB / 0.538 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.184e-05/0.4434, allocations: 19.83 kB / 0.538 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.4434, allocations: 9.922 kB / 0.538 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.4434, allocations: 5 kB / 0.538 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.4434, allocations: 61.12 kB / 0.5381 GB, free: 8.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.4434, allocations: 3.938 kB / 0.5381 GB, free: 8.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000174/0.4436, allocations: 67.09 kB / 0.5382 GB, free: 8.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.4437, allocations: 78.61 kB / 0.5382 GB, free: 8.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.839e-05/0.4437, allocations: 93.98 kB / 0.5383 GB, free: 8.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.4438, allocations: 25.7 kB / 0.5384 GB, free: 8.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.096e-05/0.4438, allocations: 80.14 kB / 0.5384 GB, free: 8.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.4438, allocations: 5.281 kB / 0.5384 GB, free: 8.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.4439, allocations: 15.77 kB / 0.5385 GB, free: 8.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.444, allocations: 318.8 kB / 0.5388 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.444, allocations: 1.094 kB / 0.5388 GB, free: 7.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.1e-06/0.444, allocations: 1.156 kB / 0.5388 GB, free: 7.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.016e-05/0.444, allocations: 67.92 kB / 0.5388 GB, free: 7.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.444, allocations: 0 / 0.5388 GB, free: 7.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.169e-05/0.4441, allocations: 65.8 kB / 0.5389 GB, free: 7.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.4442, allocations: 31.3 kB / 0.5389 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4442, allocations: 1.406 kB / 0.5389 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.4442, allocations: 0 / 0.5389 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.4442, allocations: 0 / 0.5389 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4442, allocations: 1.469 kB / 0.5389 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.4442, allocations: 4 kB / 0.5389 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.4442, allocations: 5.469 kB / 0.5389 GB, free: 7.695 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 8.536e-05/0.4443, allocations: 140.9 kB / 0.5391 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.4443, allocations: 5.156 kB / 0.5391 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.957e-06/0.4444, allocations: 7.109 kB / 0.5391 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4444, allocations: 1.156 kB / 0.5391 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.4444, allocations: 0 / 0.5391 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.4444, allocations: 0 / 0.5391 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.967e-05/0.4445, allocations: 143 kB / 0.5392 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.4445, allocations: 5.031 kB / 0.5392 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.4445, allocations: 4 kB / 0.5392 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4445, allocations: 1.125 kB / 0.5392 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.4445, allocations: 0 / 0.5392 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4445, allocations: 9.453 kB / 0.5392 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4445, allocations: 0 / 0.5392 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.202e-05/0.4446, allocations: 84.97 kB / 0.5393 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.4446, allocations: 89.77 kB / 0.5394 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.4447, allocations: 5.281 kB / 0.5394 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-06/0.4447, allocations: 4.031 kB / 0.5394 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.012e-05/0.4447, allocations: 1.438 kB / 0.5394 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.4447, allocations: 1.406 kB / 0.5394 GB, free: 7.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.31e-05/0.4447, allocations: 79.22 kB / 0.5395 GB, free: 7.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4447, allocations: 0 / 0.5395 GB, free: 7.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009322/0.4457, allocations: 272.1 kB / 0.5397 GB, free: 7.016 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.001307/0.447, allocations: 406.4 kB / 0.5401 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.921e-05/0.4471, allocations: 67.83 kB / 0.5402 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4471, allocations: 3.938 kB / 0.5402 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.855e-05/0.4472, allocations: 55.78 kB / 0.5403 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.4473, allocations: 9.438 kB / 0.5403 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.4475, allocations: 76.3 kB / 0.5403 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.4477, allocations: 0.6743 MB / 0.541 GB, free: 5.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.452e-06/0.4478, allocations: 0 / 0.541 GB, free: 5.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.064e-05/0.4478, allocations: 8.906 kB / 0.541 GB, free: 5.832 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4478, allocations: 1.5 kB / 0.541 GB, free: 5.832 MB / 398.1 MB Notification: Performance of Templates: time 0.0147/0.4625, allocations: 7.312 MB / 0.5481 GB, free: 15.68 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)