Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,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.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001137, allocations: 113.8 kB / 17.78 MB, free: 5.246 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.001057/0.001057, allocations: 183.8 kB / 18.71 MB, free: 4.324 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.405/1.405, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2125/0.2125, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 67.84 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3949, allocations: 60.82 MB / 0.5189 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002779/0.3978, allocations: 1.56 MB / 0.5204 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000678/0.3985, allocations: 399.9 kB / 0.5208 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.375e-05/0.3985, allocations: 1.188 kB / 0.5208 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.3987, allocations: 28.84 kB / 0.5209 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.3989, allocations: 36.23 kB / 0.5209 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.3992, allocations: 88.86 kB / 0.521 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.3993, allocations: 55.09 kB / 0.521 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3994, allocations: 8.375 kB / 0.521 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.322e-05/0.3995, allocations: 22.05 kB / 0.5211 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.956e-05/0.3996, allocations: 20.64 kB / 0.5211 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.3996, allocations: 6.438 kB / 0.5211 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.628e-05/0.3997, allocations: 37.05 kB / 0.5211 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.3997, allocations: 10.11 kB / 0.5211 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.3998, allocations: 22.08 kB / 0.5211 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.3999, allocations: 78.36 kB / 0.5212 GB, free: 2.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3999, allocations: 0 / 0.5212 GB, free: 2.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3999, allocations: 0 / 0.5212 GB, free: 2.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.4, allocations: 1.219 kB / 0.5212 GB, free: 2.328 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.0004309/0.4004, allocations: 386.6 kB / 0.5216 GB, free: 1.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.4004, allocations: 13.77 kB / 0.5216 GB, free: 1.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.4005, allocations: 4.406 kB / 0.5216 GB, free: 1.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.4006, allocations: 190.5 kB / 0.5218 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.4007, allocations: 1.5 kB / 0.5218 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.4007, allocations: 2.688 kB / 0.5218 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.4008, allocations: 49.17 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4009, allocations: 0 / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4009, allocations: 5.125 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4009, allocations: 0.5625 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.419e-05/0.401, allocations: 29.84 kB / 0.5219 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.4013, allocations: 269.2 kB / 0.5221 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.4015, allocations: 40.67 kB / 0.5222 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.4016, allocations: 14.08 kB / 0.5222 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.4016, allocations: 0.9844 kB / 0.5222 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.4016, allocations: 43.56 kB / 0.5222 GB, free: 1.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.844e-06/0.4016, allocations: 3.984 kB / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005587/0.4022, allocations: 132.7 kB / 0.5224 GB, free: 1.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/0.4022, allocations: 60.31 kB / 0.5224 GB, free: 1.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.4024, allocations: 154.9 kB / 0.5226 GB, free: 1.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.4024, allocations: 30.8 kB / 0.5226 GB, free: 1.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.4025, allocations: 105.9 kB / 0.5227 GB, free: 0.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.4025, allocations: 10.77 kB / 0.5227 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.4025, allocations: 18.62 kB / 0.5227 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.592e-05/0.4026, allocations: 323.9 kB / 0.523 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-05/0.4027, allocations: 18.86 kB / 0.523 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.023e-05/0.4027, allocations: 14.17 kB / 0.5231 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.4029, allocations: 51.19 kB / 0.5231 GB, free: 0.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4029, allocations: 1.25 kB / 0.5231 GB, free: 0.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001705/0.403, allocations: 83.64 kB / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4031, allocations: 6.531 kB / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.4031, allocations: 0 / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4031, allocations: 1.125 kB / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.069e-05/0.4032, allocations: 11.77 kB / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4032, allocations: 0.8438 kB / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.946e-05/0.4032, allocations: 13.2 kB / 0.5232 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.4032, allocations: 5.625 kB / 0.5232 GB, free: 492 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 6.995e-05/0.4033, allocations: 116.7 kB / 0.5233 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.4034, allocations: 7.531 kB / 0.5233 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.4036, allocations: 93.98 kB / 0.5234 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4036, allocations: 0 / 0.5234 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4036, allocations: 2.219 kB / 0.5234 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4036, allocations: 4 kB / 0.5234 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.404, allocations: 347.2 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.404, allocations: 0 / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.4041, allocations: 12.25 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4041, allocations: 0.7969 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.4041, allocations: 1.469 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.4041, allocations: 3.938 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.4041, allocations: 4.688 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.4043, allocations: 176.7 kB / 0.524 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.4044, allocations: 83.77 kB / 0.524 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.4044, allocations: 2.203 kB / 0.524 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.4045, allocations: 16.06 kB / 0.5241 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.4046, allocations: 8.797 kB / 0.5241 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.4046, allocations: 1.031 kB / 0.5241 GB, free: 15.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.84e-05/0.4047, allocations: 119.7 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4047, allocations: 0 / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000243/0.4049, allocations: 16.22 kB / 0.5242 GB, free: 15.61 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.0009465/0.4059, allocations: 395.2 kB / 0.5246 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.4061, allocations: 47.77 kB / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4061, allocations: 0 / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.983e-05/0.4062, allocations: 29.17 kB / 0.5246 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.4066, allocations: 17.34 kB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.407, allocations: 171.1 kB / 0.5248 GB, free: 15.26 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.4074, allocations: 0.6986 MB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.83e-05/0.4075, allocations: 10.95 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.4075, allocations: 21.3 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4075, allocations: 0 / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of Templates: time 0.004182/0.4117, allocations: 1.114 MB / 0.5266 GB, free: 14.36 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches