Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 109.8 kB / 17.78 MB, free: 5.309 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.00169/0.00169, allocations: 183.1 kB / 18.71 MB, free: 4.387 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.632/1.632, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.3217/0.3217, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 63.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.495/0.4977, allocations: 60.82 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003936/0.5017, allocations: 1.653 MB / 0.5205 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.5028, allocations: 448.8 kB / 0.521 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.501e-05/0.5029, allocations: 1.031 kB / 0.521 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004113/0.5033, allocations: 77.59 kB / 0.521 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.5036, allocations: 58.19 kB / 0.5211 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.5042, allocations: 171.1 kB / 0.5213 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.5045, allocations: 91.28 kB / 0.5213 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.5047, allocations: 20.86 kB / 0.5214 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.27e-05/0.5048, allocations: 36.28 kB / 0.5214 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.5049, allocations: 53.69 kB / 0.5214 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.505, allocations: 3.625 kB / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.5051, allocations: 48.16 kB / 0.5215 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.154e-05/0.5052, allocations: 31.33 kB / 0.5215 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.5052, allocations: 32.05 kB / 0.5216 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.5055, allocations: 114.3 kB / 0.5217 GB, free: 1.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5055, allocations: 0.8438 kB / 0.5217 GB, free: 1.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.5055, allocations: 0 / 0.5217 GB, free: 1.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.5055, allocations: 4 kB / 0.5217 GB, free: 1.883 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005143/0.506, allocations: 417.6 kB / 0.5221 GB, free: 1.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.5061, allocations: 9.219 kB / 0.5221 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.5061, allocations: 15.03 kB / 0.5221 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.5063, allocations: 198.2 kB / 0.5223 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.5063, allocations: 6.656 kB / 0.5223 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.5064, allocations: 3.656 kB / 0.5223 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.5066, allocations: 74.28 kB / 0.5224 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.5066, allocations: 0 / 0.5224 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.5066, allocations: 1.219 kB / 0.5224 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.5066, allocations: 1.094 kB / 0.5224 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.5068, allocations: 47.23 kB / 0.5224 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.5073, allocations: 327.7 kB / 0.5227 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.5075, allocations: 59.81 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.464e-05/0.5076, allocations: 27.12 kB / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.5076, allocations: 5.125 kB / 0.5228 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.5077, allocations: 32.2 kB / 0.5228 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.5077, allocations: 0 / 0.5228 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001677/0.5094, allocations: 419.4 kB / 0.5232 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.5094, allocations: 56.44 kB / 0.5233 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.5097, allocations: 215.6 kB / 0.5235 GB, free: 468 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.5097, allocations: 27.7 kB / 0.5235 GB, free: 436 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.5098, allocations: 104.5 kB / 0.5236 GB, free: 336 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.5098, allocations: 34.8 kB / 0.5237 GB, free: 308 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.5099, allocations: 30.86 kB / 0.5237 GB, free: 280 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.51, allocations: 323.5 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.5102, allocations: 51.34 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.5104, allocations: 56.72 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.5107, allocations: 126.6 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.5107, allocations: 0.6094 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004096/0.5112, allocations: 165 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.5112, allocations: 6.266 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5112, allocations: 0 / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.5112, allocations: 1.531 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.5113, allocations: 30.59 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.5114, allocations: 7.938 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.007e-05/0.5114, allocations: 13.25 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.5115, allocations: 1.812 kB / 0.5244 GB, free: 15.79 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 (11): * Single equations (assignments): 11 * 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.0001364/0.5116, allocations: 135.3 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.5116, allocations: 13.81 kB / 0.5246 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/0.5122, allocations: 196.3 kB / 0.5248 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.5122, allocations: 5.469 kB / 0.5248 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5122, allocations: 0.7031 kB / 0.5248 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.5122, allocations: 0.8438 kB / 0.5248 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008712/0.5131, allocations: 0.496 MB / 0.5253 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.5131, allocations: 5.344 kB / 0.5253 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.5132, allocations: 36.33 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5132, allocations: 0 / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.5132, allocations: 2.859 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.5133, allocations: 0 / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5133, allocations: 1.781 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004616/0.5137, allocations: 270.6 kB / 0.5256 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.5138, allocations: 90.08 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.5138, allocations: 14.02 kB / 0.5257 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.5139, allocations: 9.781 kB / 0.5257 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.514, allocations: 7.5 kB / 0.5257 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.514, allocations: 12.78 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.5142, allocations: 151.6 kB / 0.5258 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5142, allocations: 0 / 0.5258 GB, free: 14.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.5145, allocations: 27.94 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001123/0.5156, allocations: 464.4 kB / 0.5263 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003855/0.516, allocations: 131.2 kB / 0.5264 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.516, allocations: 0 / 0.5264 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.5162, allocations: 74 kB / 0.5265 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.5166, allocations: 24.02 kB / 0.5265 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000658/0.5172, allocations: 312.8 kB / 0.5268 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.5176, allocations: 0.7172 MB / 0.5275 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.5178, allocations: 34.34 kB / 0.5276 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.5178, allocations: 20.33 kB / 0.5276 GB, free: 13.54 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5178, allocations: 0 / 0.5276 GB, free: 13.54 MB / 398.1 MB Notification: Performance of Templates: time 0.005196/0.523, allocations: 1.626 MB / 0.5292 GB, free: 12.79 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches