Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 111.1 kB / 17.78 MB, free: 5.281 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.001113/0.001113, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.297/1.297, 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.2203/0.2203, allocations: 44.19 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 63.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3988, allocations: 60.81 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.002994/0.4019, allocations: 1.658 MB / 0.5205 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006856/0.4026, allocations: 417.6 kB / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.8e-05/0.4026, allocations: 1.156 kB / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.4029, allocations: 51.86 kB / 0.521 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.4031, allocations: 59.91 kB / 0.521 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.4034, allocations: 137.4 kB / 0.5212 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.4036, allocations: 66.06 kB / 0.5212 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.4037, allocations: 23.33 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.147e-05/0.4038, allocations: 39 kB / 0.5213 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.4039, allocations: 45.91 kB / 0.5213 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.4039, allocations: 6.75 kB / 0.5213 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.404, allocations: 52.7 kB / 0.5214 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.22e-05/0.4041, allocations: 16.27 kB / 0.5214 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.4042, allocations: 30.98 kB / 0.5214 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.4044, allocations: 105.7 kB / 0.5215 GB, free: 1.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4044, allocations: 0 / 0.5215 GB, free: 1.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4044, allocations: 0 / 0.5215 GB, free: 1.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.4044, allocations: 0 / 0.5215 GB, free: 1.922 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.0004594/0.4049, allocations: 411.3 kB / 0.5219 GB, free: 1.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4049, allocations: 9.719 kB / 0.5219 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.405, allocations: 9.547 kB / 0.522 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.4051, allocations: 197.1 kB / 0.5221 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.4051, allocations: 2.625 kB / 0.5221 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.4052, allocations: 9.969 kB / 0.5222 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.4053, allocations: 63.94 kB / 0.5222 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4054, allocations: 1.062 kB / 0.5222 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.4054, allocations: 4 kB / 0.5222 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.4054, allocations: 7.031 kB / 0.5222 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.4055, allocations: 37.77 kB / 0.5223 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.4059, allocations: 306.6 kB / 0.5226 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.4061, allocations: 57.2 kB / 0.5226 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.4062, allocations: 30.16 kB / 0.5226 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.4062, allocations: 1.031 kB / 0.5226 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.4062, allocations: 31.69 kB / 0.5227 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.4062, allocations: 0 / 0.5227 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001418/0.4077, allocations: 394.2 kB / 0.523 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.4077, allocations: 53.66 kB / 0.5231 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.4079, allocations: 177.2 kB / 0.5233 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.4079, allocations: 26.36 kB / 0.5233 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.4079, allocations: 99.22 kB / 0.5234 GB, free: 412 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.408, allocations: 39.36 kB / 0.5234 GB, free: 380 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.408, allocations: 26.97 kB / 0.5235 GB, free: 356 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.4081, allocations: 325.4 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.4082, allocations: 39.94 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.4084, allocations: 48.2 kB / 0.5238 GB, free: 4 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.4089, allocations: 101 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.4089, allocations: 1.094 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006032/0.4095, allocations: 146.3 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.4096, allocations: 4.094 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.4096, allocations: 2.781 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-05/0.4097, allocations: 0 / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.4099, allocations: 24.97 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.4099, allocations: 5.875 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.41, allocations: 11.72 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.4101, allocations: 4.094 kB / 0.5241 GB, free: 15.89 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.000222/0.4103, allocations: 128.6 kB / 0.5243 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-05/0.4104, allocations: 17.5 kB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004627/0.4109, allocations: 164.3 kB / 0.5244 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4109, allocations: 0.6562 kB / 0.5244 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4109, allocations: 5.625 kB / 0.5244 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4109, allocations: 0.6094 kB / 0.5244 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000604/0.4115, allocations: 469.1 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4115, allocations: 0.6094 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.37e-05/0.4116, allocations: 26.33 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4116, allocations: 5.281 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.4116, allocations: 1.859 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.4117, allocations: 9.156 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4117, allocations: 5.859 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.412, allocations: 253.8 kB / 0.5252 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.412, allocations: 85.08 kB / 0.5253 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.4121, allocations: 4.703 kB / 0.5253 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/0.4122, allocations: 9.703 kB / 0.5253 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.4122, allocations: 9.484 kB / 0.5253 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.4122, allocations: 14.62 kB / 0.5253 GB, free: 14.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.4124, allocations: 136.7 kB / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4124, allocations: 4 kB / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.4126, allocations: 21.77 kB / 0.5254 GB, free: 14.87 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.0009698/0.4136, allocations: 468 kB / 0.5259 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003113/0.4139, allocations: 112.7 kB / 0.526 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4139, allocations: 0 / 0.526 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.4141, allocations: 59.64 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.4144, allocations: 19.16 kB / 0.5261 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.4149, allocations: 262.8 kB / 0.5263 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.4152, allocations: 0.7117 MB / 0.527 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.451e-05/0.4153, allocations: 22.34 kB / 0.527 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.4153, allocations: 14.97 kB / 0.5271 GB, free: 13.69 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4153, allocations: 0 / 0.5271 GB, free: 13.69 MB / 398.1 MB Notification: Performance of Templates: time 0.003915/0.4192, allocations: 1.539 MB / 0.5286 GB, free: 13.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches