Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 113.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 183.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2371/0.2371, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001489, allocations: 63.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5428/0.5443, allocations: 60.83 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003213/0.5476, allocations: 1.564 MB / 0.5204 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008305/0.5485, allocations: 405.1 kB / 0.5208 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.985e-05/0.5485, allocations: 3.938 kB / 0.5208 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.5488, allocations: 34.77 kB / 0.5209 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.549, allocations: 36.55 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.5494, allocations: 115 kB / 0.521 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.5496, allocations: 50.97 kB / 0.5211 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.5497, allocations: 9.219 kB / 0.5211 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.166e-05/0.5498, allocations: 26.38 kB / 0.5211 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.282e-05/0.5498, allocations: 24.83 kB / 0.5211 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.5499, allocations: 2.375 kB / 0.5211 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.231e-05/0.55, allocations: 33.27 kB / 0.5212 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.55, allocations: 12.86 kB / 0.5212 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.5501, allocations: 28.7 kB / 0.5212 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.5503, allocations: 76 kB / 0.5213 GB, free: 2.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.5503, allocations: 1.562 kB / 0.5213 GB, free: 2.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5503, allocations: 0 / 0.5213 GB, free: 2.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.5503, allocations: 0 / 0.5213 GB, free: 2.062 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005031/0.5508, allocations: 386.4 kB / 0.5216 GB, free: 1.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.5509, allocations: 9.219 kB / 0.5216 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.5509, allocations: 8.219 kB / 0.5217 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.5511, allocations: 191.8 kB / 0.5218 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.5511, allocations: 1.688 kB / 0.5218 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.5511, allocations: 2.438 kB / 0.5218 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.5513, allocations: 58.55 kB / 0.5219 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.5513, allocations: 3.906 kB / 0.5219 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.5513, allocations: 0 / 0.5219 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5513, allocations: 5 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.5515, allocations: 23.97 kB / 0.5219 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.5519, allocations: 277.3 kB / 0.5222 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.5521, allocations: 50.73 kB / 0.5222 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.5522, allocations: 14.66 kB / 0.5223 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.5522, allocations: 4.844 kB / 0.5223 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.5522, allocations: 32.23 kB / 0.5223 GB, free: 1.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5522, allocations: 0 / 0.5223 GB, free: 1.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000602/0.5529, allocations: 155.3 kB / 0.5224 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.5529, allocations: 52.06 kB / 0.5225 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.5531, allocations: 173.3 kB / 0.5227 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.5531, allocations: 25.7 kB / 0.5227 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.5532, allocations: 95.05 kB / 0.5228 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.5532, allocations: 14.55 kB / 0.5228 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.5532, allocations: 15.14 kB / 0.5228 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.471e-05/0.5533, allocations: 324.7 kB / 0.5231 GB, free: 316 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.11e-05/0.5534, allocations: 20.56 kB / 0.5231 GB, free: 312 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.493e-05/0.5535, allocations: 29.36 kB / 0.5232 GB, free: 300 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.5537, allocations: 55.97 kB / 0.5232 GB, free: 276 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5537, allocations: 0 / 0.5232 GB, free: 276 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001991/0.5539, allocations: 85.75 kB / 0.5233 GB, free: 228 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5539, allocations: 4.594 kB / 0.5233 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5539, allocations: 0.6562 kB / 0.5233 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.5539, allocations: 5 kB / 0.5233 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.554, allocations: 16.47 kB / 0.5233 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.554, allocations: 1.562 kB / 0.5233 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.035e-05/0.5541, allocations: 4.078 kB / 0.5233 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.5541, allocations: 1.734 kB / 0.5233 GB, free: 220 kB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.187e-05/0.5542, allocations: 126.8 kB / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.5542, allocations: 12.12 kB / 0.5235 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.5545, allocations: 102.6 kB / 0.5235 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.5545, allocations: 5.984 kB / 0.5236 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5545, allocations: 0 / 0.5236 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.5545, allocations: 5.234 kB / 0.5236 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000578/0.5551, allocations: 358.4 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5551, allocations: 0.7969 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.658e-05/0.5552, allocations: 11.97 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.5552, allocations: 2.484 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.5552, allocations: 0 / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.5552, allocations: 11.94 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5552, allocations: 3.328 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.5555, allocations: 175.7 kB / 0.5241 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.929e-05/0.5556, allocations: 83.12 kB / 0.5242 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.5556, allocations: 2.172 kB / 0.5242 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.527e-05/0.5557, allocations: 12.34 kB / 0.5242 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.5557, allocations: 12.42 kB / 0.5242 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.5558, allocations: 2.25 kB / 0.5242 GB, free: 15.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.5559, allocations: 126 kB / 0.5243 GB, free: 15.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5559, allocations: 0 / 0.5243 GB, free: 15.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.5562, allocations: 15.14 kB / 0.5243 GB, free: 15.32 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0009792/0.5572, allocations: 404.2 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.5574, allocations: 52.45 kB / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5574, allocations: 0 / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.5575, allocations: 34.23 kB / 0.5248 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.5579, allocations: 17.47 kB / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.5584, allocations: 187.9 kB / 0.525 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.5587, allocations: 0.7029 MB / 0.5257 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.582e-05/0.5588, allocations: 16.19 kB / 0.5257 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.5588, allocations: 12.67 kB / 0.5257 GB, free: 14.23 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.5588, allocations: 0 / 0.5257 GB, free: 14.23 MB / 398.1 MB Notification: Performance of Templates: time 0.004354/0.5632, allocations: 1.128 MB / 0.5268 GB, free: 14.06 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches