Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001986/0.001986, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.488/1.488, allocations: 222.9 MB / 242.4 MB, free: 15.03 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.22/0.22, allocations: 44.17 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3924, allocations: 60.81 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002957/0.3955, allocations: 1.657 MB / 0.5205 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008031/0.3963, allocations: 450.7 kB / 0.521 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.552e-05/0.3964, allocations: 5.094 kB / 0.521 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008446/0.3972, allocations: 454.4 kB / 0.5214 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000517/0.3978, allocations: 257.8 kB / 0.5217 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.3983, allocations: 168.1 kB / 0.5218 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.3986, allocations: 179.8 kB / 0.522 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3987, allocations: 17.56 kB / 0.522 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.3988, allocations: 113.7 kB / 0.5221 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.3991, allocations: 221.3 kB / 0.5223 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.3991, allocations: 4.156 kB / 0.5223 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.3992, allocations: 46.81 kB / 0.5224 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.3994, allocations: 86.81 kB / 0.5225 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.3994, allocations: 106.4 kB / 0.5226 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.3998, allocations: 266.8 kB / 0.5228 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3998, allocations: 0.5156 kB / 0.5228 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3998, allocations: 5.312 kB / 0.5228 GB, free: 1.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.3998, allocations: 0 / 0.5228 GB, free: 1.691 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.0006576/0.4005, allocations: 0.6546 MB / 0.5235 GB, free: 1.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4005, allocations: 10.06 kB / 0.5235 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.4006, allocations: 42.81 kB / 0.5235 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.4008, allocations: 300.9 kB / 0.5238 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.4008, allocations: 2.219 kB / 0.5238 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.4009, allocations: 2.312 kB / 0.5238 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.4011, allocations: 74.81 kB / 0.5239 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.4011, allocations: 4 kB / 0.5239 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.4011, allocations: 1.719 kB / 0.5239 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4011, allocations: 0 / 0.5239 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.4013, allocations: 47.95 kB / 0.5239 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.4018, allocations: 411.8 kB / 0.5243 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.402, allocations: 60.27 kB / 0.5244 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.684e-05/0.4021, allocations: 26.09 kB / 0.5244 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.4022, allocations: 1.844 kB / 0.5244 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.4022, allocations: 35.36 kB / 0.5244 GB, free: 340 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.4022, allocations: 1.781 kB / 0.5244 GB, free: 340 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.00157/0.4038, allocations: 0.4913 MB / 0.5249 GB, free: 144 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.4038, allocations: 56.72 kB / 0.525 GB, free: 76 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008901/0.4047, allocations: 0.8511 MB / 0.5258 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.4047, allocations: 26.77 kB / 0.5258 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.4049, allocations: 211.7 kB / 0.526 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.405, allocations: 40.28 kB / 0.5261 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.405, allocations: 29.83 kB / 0.5261 GB, free: 15.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4052, allocations: 359.8 kB / 0.5264 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.4054, allocations: 52.11 kB / 0.5265 GB, free: 15.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.4055, allocations: 53.83 kB / 0.5265 GB, free: 15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.4058, allocations: 126.9 kB / 0.5267 GB, free: 14.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4058, allocations: 1.5 kB / 0.5267 GB, free: 14.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003608/0.4062, allocations: 201 kB / 0.5269 GB, free: 14.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4062, allocations: 7.156 kB / 0.5269 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4062, allocations: 1 kB / 0.5269 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4062, allocations: 1.062 kB / 0.5269 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.4064, allocations: 32.22 kB / 0.5269 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4064, allocations: 7.938 kB / 0.5269 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.824e-05/0.4065, allocations: 14.67 kB / 0.5269 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.4065, allocations: 2.312 kB / 0.5269 GB, free: 14.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.0002139/0.4067, allocations: 211.9 kB / 0.5271 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/0.4068, allocations: 43.38 kB / 0.5272 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004878/0.4073, allocations: 239.4 kB / 0.5274 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.4073, allocations: 5.594 kB / 0.5274 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4073, allocations: 1.375 kB / 0.5274 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4073, allocations: 0 / 0.5274 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007906/0.4081, allocations: 0.5884 MB / 0.528 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4081, allocations: 5.094 kB / 0.528 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.4082, allocations: 29.06 kB / 0.528 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4082, allocations: 1.344 kB / 0.528 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.4082, allocations: 5 kB / 0.528 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4082, allocations: 1.281 kB / 0.528 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4083, allocations: 1.25 kB / 0.528 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.4087, allocations: 309.8 kB / 0.5283 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/0.4088, allocations: 110.3 kB / 0.5284 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.4088, allocations: 5.938 kB / 0.5284 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.4089, allocations: 9.859 kB / 0.5284 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.409, allocations: 13.67 kB / 0.5284 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.409, allocations: 2.312 kB / 0.5284 GB, free: 13.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006351/0.4096, allocations: 0.6508 MB / 0.5291 GB, free: 13.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4096, allocations: 0 / 0.5291 GB, free: 13.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000281/0.4099, allocations: 32.72 kB / 0.5291 GB, free: 13.27 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.00109/0.411, allocations: 458.2 kB / 0.5295 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003884/0.4114, allocations: 136.7 kB / 0.5297 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4114, allocations: 0 / 0.5297 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.4116, allocations: 67.2 kB / 0.5297 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.412, allocations: 33.52 kB / 0.5298 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.4134, allocations: 0.8617 MB / 0.5306 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.4139, allocations: 0.8354 MB / 0.5314 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.414, allocations: 32.77 kB / 0.5315 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.414, allocations: 16.72 kB / 0.5315 GB, free: 11.67 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.414, allocations: 0 / 0.5315 GB, free: 11.67 MB / 398.1 MB Notification: Performance of Templates: time 0.005806/0.4199, allocations: 1.922 MB / 0.5334 GB, free: 10.72 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches