Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001244, allocations: 114.4 kB / 17.78 MB, free: 5.27 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.001237/0.001237, allocations: 187 kB / 18.71 MB, free: 4.348 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.363/1.363, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2252/0.2252, allocations: 44.18 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 67.88 kB / 470.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4625/0.464, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003199/0.4673, allocations: 1.612 MB / 0.5205 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008194/0.4681, allocations: 448.1 kB / 0.5209 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.741e-05/0.4682, allocations: 9.125 kB / 0.5209 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007586/0.469, allocations: 454.9 kB / 0.5214 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005207/0.4695, allocations: 248.9 kB / 0.5216 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.4701, allocations: 170.9 kB / 0.5218 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004456/0.4706, allocations: 166.8 kB / 0.5219 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.4707, allocations: 18.98 kB / 0.5219 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.471, allocations: 112 kB / 0.522 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.4714, allocations: 206.5 kB / 0.5222 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.4714, allocations: 3.688 kB / 0.5223 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.4715, allocations: 30.47 kB / 0.5223 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.4717, allocations: 82.66 kB / 0.5224 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.632e-05/0.4718, allocations: 102.9 kB / 0.5225 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.4722, allocations: 259.1 kB / 0.5227 GB, free: 1.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4722, allocations: 0 / 0.5227 GB, free: 1.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4722, allocations: 0 / 0.5227 GB, free: 1.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.4722, allocations: 0 / 0.5227 GB, free: 1.762 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008019/0.473, allocations: 0.6289 MB / 0.5233 GB, free: 1.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.4731, allocations: 9.594 kB / 0.5233 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.647e-05/0.4732, allocations: 42.16 kB / 0.5234 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.4734, allocations: 293.9 kB / 0.5236 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.4734, allocations: 5.781 kB / 0.5237 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.4735, allocations: 7.969 kB / 0.5237 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.4736, allocations: 62.06 kB / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4737, allocations: 0 / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.4737, allocations: 5.25 kB / 0.5237 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4737, allocations: 3.938 kB / 0.5237 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.956e-05/0.4738, allocations: 27.55 kB / 0.5238 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.4743, allocations: 394.7 kB / 0.5241 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.4745, allocations: 53.31 kB / 0.5242 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.4746, allocations: 14.62 kB / 0.5242 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.4746, allocations: 5.766 kB / 0.5242 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.4747, allocations: 31.27 kB / 0.5242 GB, free: 440 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4747, allocations: 1.781 kB / 0.5242 GB, free: 440 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006307/0.4753, allocations: 236.5 kB / 0.5245 GB, free: 308 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.4753, allocations: 51.41 kB / 0.5245 GB, free: 244 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009645/0.4763, allocations: 0.865 MB / 0.5254 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.4763, allocations: 25.7 kB / 0.5254 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.4765, allocations: 225.9 kB / 0.5256 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.4765, allocations: 17.91 kB / 0.5256 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.4766, allocations: 14.22 kB / 0.5256 GB, free: 15.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4767, allocations: 367.4 kB / 0.526 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.367e-05/0.4768, allocations: 20.64 kB / 0.526 GB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.27e-05/0.4769, allocations: 20.58 kB / 0.526 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.477, allocations: 54.98 kB / 0.5261 GB, free: 15.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.477, allocations: 0 / 0.5261 GB, free: 15.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002536/0.4773, allocations: 123.2 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.4773, allocations: 4.5 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4773, allocations: 0 / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.4774, allocations: 1.281 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.194e-05/0.4774, allocations: 13.89 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4774, allocations: 0 / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.894e-05/0.4775, allocations: 10.53 kB / 0.5262 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.4775, allocations: 1.5 kB / 0.5262 GB, free: 15.17 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: 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 0.0001974/0.4777, allocations: 219.2 kB / 0.5264 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.793e-05/0.4778, allocations: 42.28 kB / 0.5265 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.4781, allocations: 141.3 kB / 0.5266 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4781, allocations: 5.656 kB / 0.5266 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4781, allocations: 0 / 0.5266 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4781, allocations: 5.312 kB / 0.5266 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005665/0.4787, allocations: 461.2 kB / 0.527 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4787, allocations: 13.3 kB / 0.5271 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/0.4788, allocations: 9.625 kB / 0.5271 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4788, allocations: 0 / 0.5271 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.4788, allocations: 5.312 kB / 0.5271 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4788, allocations: 0 / 0.5271 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4788, allocations: 0 / 0.5271 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.4791, allocations: 213.1 kB / 0.5273 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-05/0.4792, allocations: 121.6 kB / 0.5274 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.4792, allocations: 9.234 kB / 0.5274 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.4793, allocations: 3.938 kB / 0.5274 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.4793, allocations: 1.625 kB / 0.5274 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.4794, allocations: 1.688 kB / 0.5274 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007669/0.4801, allocations: 0.6505 MB / 0.528 GB, free: 13.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4801, allocations: 1.125 kB / 0.528 GB, free: 13.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.4804, allocations: 25.38 kB / 0.5281 GB, free: 13.84 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.0009986/0.4814, allocations: 408.5 kB / 0.5285 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002372/0.4817, allocations: 50.94 kB / 0.5285 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4817, allocations: 1.156 kB / 0.5285 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.388e-05/0.4818, allocations: 36.03 kB / 0.5285 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.4822, allocations: 22.03 kB / 0.5286 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.4835, allocations: 0.7891 MB / 0.5293 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.4841, allocations: 0.8281 MB / 0.5301 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.813e-05/0.4841, allocations: 13.2 kB / 0.5302 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.4842, allocations: 11.91 kB / 0.5302 GB, free: 12.4 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4842, allocations: 0 / 0.5302 GB, free: 12.4 MB / 398.1 MB Notification: Performance of Templates: time 0.005269/0.4895, allocations: 1.492 MB / 0.5316 GB, free: 11.65 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches