Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 180.1 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008389/0.0008393, allocations: 103.7 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1966/0.1966, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.127e-05/3.129e-05, allocations: 4 kB / 451.8 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1254, allocations: 61.92 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3636/0.4891, allocations: 89.88 MB / 0.5895 GB, free: 15.44 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.4893, allocations: 63.97 kB / 0.5895 GB, free: 15.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06683/0.5562, allocations: 25.81 MB / 0.6147 GB, free: 5.543 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5562, allocations: 0 / 0.6147 GB, free: 5.543 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.5562, allocations: 0 / 0.6147 GB, free: 5.543 MB / 426.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.0006193/0.5568, allocations: 436 kB / 0.6152 GB, free: 5.066 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.5569, allocations: 12.03 kB / 0.6152 GB, free: 5.055 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.5569, allocations: 4 kB / 0.6152 GB, free: 5.051 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.5571, allocations: 163 kB / 0.6153 GB, free: 4.852 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.5571, allocations: 0 / 0.6153 GB, free: 4.852 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.5571, allocations: 3.938 kB / 0.6153 GB, free: 4.848 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.834e-05/0.5572, allocations: 33.69 kB / 0.6154 GB, free: 4.809 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.5572, allocations: 0 / 0.6154 GB, free: 4.809 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.5572, allocations: 0 / 0.6154 GB, free: 4.809 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.5572, allocations: 0 / 0.6154 GB, free: 4.809 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.023e-05/0.5572, allocations: 3.938 kB / 0.6154 GB, free: 4.805 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.5574, allocations: 153.7 kB / 0.6155 GB, free: 4.605 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.133e-05/0.5575, allocations: 18.53 kB / 0.6155 GB, free: 4.578 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.5575, allocations: 8.953 kB / 0.6155 GB, free: 4.566 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-06/0.5575, allocations: 0 / 0.6155 GB, free: 4.566 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.5575, allocations: 60.25 kB / 0.6156 GB, free: 4.492 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.5576, allocations: 3.938 kB / 0.6156 GB, free: 4.488 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001868/0.5577, allocations: 71.34 kB / 0.6157 GB, free: 4.406 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.5578, allocations: 77.11 kB / 0.6157 GB, free: 4.312 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.488e-05/0.5579, allocations: 85 kB / 0.6158 GB, free: 4.223 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.5579, allocations: 25.7 kB / 0.6158 GB, free: 4.191 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.5579, allocations: 80.14 kB / 0.6159 GB, free: 4.109 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.558, allocations: 0 / 0.6159 GB, free: 4.109 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-06/0.558, allocations: 0 / 0.6159 GB, free: 4.109 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5581, allocations: 318.8 kB / 0.6162 GB, free: 3.789 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.5581, allocations: 0 / 0.6162 GB, free: 3.789 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-06/0.5581, allocations: 4.031 kB / 0.6162 GB, free: 3.785 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.159e-05/0.5582, allocations: 29.7 kB / 0.6163 GB, free: 3.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5582, allocations: 0 / 0.6163 GB, free: 3.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.499e-05/0.5583, allocations: 63.36 kB / 0.6163 GB, free: 3.676 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.5583, allocations: 35.11 kB / 0.6164 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5583, allocations: 3.984 kB / 0.6164 GB, free: 3.633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.5583, allocations: 3.938 kB / 0.6164 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.5583, allocations: 0 / 0.6164 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.5583, allocations: 0 / 0.6164 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.251e-05/0.5584, allocations: 4.094 kB / 0.6164 GB, free: 3.625 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.5584, allocations: 0 / 0.6164 GB, free: 3.625 MB / 426.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 () * 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 7.113e-05/0.5585, allocations: 130.7 kB / 0.6165 GB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.5585, allocations: 7.953 kB / 0.6165 GB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.566e-05/0.5585, allocations: 7.109 kB / 0.6165 GB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.5585, allocations: 0 / 0.6165 GB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5585, allocations: 4 kB / 0.6165 GB, free: 3.461 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.5585, allocations: 0 / 0.6165 GB, free: 3.461 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.743e-05/0.5586, allocations: 145.7 kB / 0.6166 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.5586, allocations: 4 kB / 0.6166 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.5586, allocations: 0 / 0.6166 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5586, allocations: 0 / 0.6166 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.5587, allocations: 11.89 kB / 0.6167 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5587, allocations: 0 / 0.6167 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5587, allocations: 0 / 0.6167 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.736e-05/0.5588, allocations: 90.77 kB / 0.6167 GB, free: 3.141 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.5588, allocations: 81.11 kB / 0.6168 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.5588, allocations: 7.969 kB / 0.6168 GB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.112e-05/0.5589, allocations: 7.953 kB / 0.6168 GB, free: 3.027 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.5589, allocations: 0 / 0.6168 GB, free: 3.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.5589, allocations: 0 / 0.6168 GB, free: 3.027 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.409e-05/0.5589, allocations: 79.28 kB / 0.6169 GB, free: 2.949 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5589, allocations: 0 / 0.6169 GB, free: 2.949 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005207/0.5595, allocations: 163.8 kB / 0.6171 GB, free: 2.789 MB / 426.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) * 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.0008748/0.5603, allocations: 346.3 kB / 0.6174 GB, free: 2.465 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.57e-05/0.5604, allocations: 55.41 kB / 0.6175 GB, free: 2.398 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.5604, allocations: 0 / 0.6175 GB, free: 2.398 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.783e-05/0.5605, allocations: 63.34 kB / 0.6175 GB, free: 2.324 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.794e-05/0.5606, allocations: 8.484 kB / 0.6175 GB, free: 2.316 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001481/0.5607, allocations: 52.92 kB / 0.6176 GB, free: 2.242 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.561, allocations: 0.6692 MB / 0.6182 GB, free: 1.547 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.853e-06/0.561, allocations: 8.125 kB / 0.6182 GB, free: 1.539 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.378e-05/0.5611, allocations: 7.438 kB / 0.6182 GB, free: 1.531 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5611, allocations: 0 / 0.6182 GB, free: 1.531 MB / 426.7 MB Notification: Performance of Templates: time 0.009635/0.5707, allocations: 4.543 MB / 0.6227 GB, free: 12.99 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches