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.001409/0.001409, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00163/0.00163, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 79.88 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4225, allocations: 62.43 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001654/0.4242, allocations: 491.1 kB / 0.5321 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003325/0.4276, allocations: 2.146 MB / 0.5342 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.4276, allocations: 0 / 0.5342 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.4276, allocations: 0 / 0.5342 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.618e-06/0.4277, allocations: 0 / 0.5342 GB, free: 11.55 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.002131/0.4298, allocations: 0.724 MB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.124e-05/0.4299, allocations: 9.359 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.4299, allocations: 5.359 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.907e-05/0.43, allocations: 1.375 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.957e-05/0.43, allocations: 0 / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.512e-06/0.43, allocations: 0 / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.4324, allocations: 1.508 MB / 0.5364 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.4324, allocations: 5.125 kB / 0.5364 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.4325, allocations: 0 / 0.5364 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.4344, allocations: 1.548 MB / 0.5379 GB, free: 9.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4344, allocations: 0 / 0.5379 GB, free: 9.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.939e-06/0.4344, allocations: 3.984 kB / 0.5379 GB, free: 9.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.4344, allocations: 1.094 kB / 0.5379 GB, free: 9.605 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.0007302/0.4352, allocations: 413 kB / 0.5383 GB, free: 9.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.4352, allocations: 9.188 kB / 0.5383 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.4353, allocations: 2.094 kB / 0.5383 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.4354, allocations: 164.4 kB / 0.5385 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.4354, allocations: 1.406 kB / 0.5385 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.4354, allocations: 9.25 kB / 0.5385 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.4355, allocations: 31.89 kB / 0.5385 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4356, allocations: 4 kB / 0.5385 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.4356, allocations: 0 / 0.5385 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.4356, allocations: 5.109 kB / 0.5385 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.104e-05/0.4356, allocations: 1.094 kB / 0.5385 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.4358, allocations: 142.8 kB / 0.5387 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.626e-05/0.4358, allocations: 20.8 kB / 0.5387 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/0.4359, allocations: 9.703 kB / 0.5387 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.4359, allocations: 4 kB / 0.5387 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.4359, allocations: 61.3 kB / 0.5388 GB, free: 8.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.436, allocations: 5.062 kB / 0.5388 GB, free: 8.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002062/0.4362, allocations: 65.92 kB / 0.5388 GB, free: 8.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.4362, allocations: 82.27 kB / 0.5389 GB, free: 8.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.058e-05/0.4363, allocations: 89.86 kB / 0.539 GB, free: 8.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.4363, allocations: 26.7 kB / 0.539 GB, free: 8.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.4363, allocations: 80.14 kB / 0.5391 GB, free: 8.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.4364, allocations: 8.719 kB / 0.5391 GB, free: 8.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.4364, allocations: 11.72 kB / 0.5391 GB, free: 8.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.4365, allocations: 319.7 kB / 0.5394 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.4365, allocations: 1.188 kB / 0.5394 GB, free: 7.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-06/0.4365, allocations: 5.094 kB / 0.5394 GB, free: 7.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.391e-05/0.4366, allocations: 63.14 kB / 0.5395 GB, free: 7.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4366, allocations: 0 / 0.5395 GB, free: 7.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.716e-05/0.4367, allocations: 70.52 kB / 0.5396 GB, free: 7.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.4368, allocations: 31.86 kB / 0.5396 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.4368, allocations: 0 / 0.5396 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.4368, allocations: 0 / 0.5396 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.803e-06/0.4368, allocations: 1.156 kB / 0.5396 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4368, allocations: 0 / 0.5396 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.4368, allocations: 5.188 kB / 0.5396 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.4368, allocations: 0 / 0.5396 GB, free: 7.707 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.352e-05/0.4369, allocations: 137.8 kB / 0.5397 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.4369, allocations: 5.062 kB / 0.5397 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.594e-05/0.437, allocations: 12.25 kB / 0.5397 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.437, allocations: 0 / 0.5397 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.437, allocations: 0 / 0.5397 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.437, allocations: 1.125 kB / 0.5397 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.423e-05/0.4371, allocations: 146.8 kB / 0.5399 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4371, allocations: 7.938 kB / 0.5399 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-06/0.4371, allocations: 1.25 kB / 0.5399 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.4371, allocations: 3.938 kB / 0.5399 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.4371, allocations: 5.266 kB / 0.5399 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4371, allocations: 0 / 0.5399 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4371, allocations: 3.984 kB / 0.5399 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.954e-05/0.4372, allocations: 86.22 kB / 0.54 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.4373, allocations: 88.78 kB / 0.5401 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.4373, allocations: 9.172 kB / 0.5401 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.086e-05/0.4373, allocations: 5.125 kB / 0.5401 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.4374, allocations: 1.031 kB / 0.5401 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.4374, allocations: 0 / 0.5401 GB, free: 7.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.93e-05/0.4374, allocations: 76.44 kB / 0.5402 GB, free: 7.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4374, allocations: 0 / 0.5402 GB, free: 7.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001258/0.4387, allocations: 268 kB / 0.5404 GB, free: 7.023 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.001426/0.4401, allocations: 400 kB / 0.5408 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.4402, allocations: 73.2 kB / 0.5409 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4402, allocations: 0 / 0.5409 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.198e-05/0.4403, allocations: 54.81 kB / 0.5409 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.4404, allocations: 13.06 kB / 0.5409 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.4407, allocations: 107.1 kB / 0.541 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.441, allocations: 0.674 MB / 0.5417 GB, free: 5.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.441, allocations: 8.688 kB / 0.5417 GB, free: 5.805 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.441, allocations: 1.188 kB / 0.5417 GB, free: 5.805 MB / 398.1 MB Notification: Performance of Templates: time 0.01426/0.4552, allocations: 6.641 MB / 0.5482 GB, free: 356 kB / 398.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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches