Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 111.4 kB / 18.45 MB, free: 4.602 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.001186/0.001186, allocations: 183 kB / 19.38 MB, free: 3.684 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.304/1.304, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2057/0.2057, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3899, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003213/0.3932, allocations: 1.623 MB / 0.5212 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000842/0.394, allocations: 445.4 kB / 0.5216 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.791e-05/0.3941, allocations: 0 / 0.5216 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008284/0.395, allocations: 455.9 kB / 0.522 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004854/0.3955, allocations: 256 kB / 0.5223 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.396, allocations: 170.7 kB / 0.5224 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00029/0.3963, allocations: 166.4 kB / 0.5226 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3964, allocations: 15.81 kB / 0.5226 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.3966, allocations: 111.5 kB / 0.5227 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.3969, allocations: 211.2 kB / 0.5229 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.3969, allocations: 3.625 kB / 0.5229 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-05/0.397, allocations: 30.45 kB / 0.5229 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.3971, allocations: 86.94 kB / 0.523 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/0.3972, allocations: 102.4 kB / 0.5231 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.3975, allocations: 250.4 kB / 0.5234 GB, free: 1.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3975, allocations: 4 kB / 0.5234 GB, free: 1.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3975, allocations: 0 / 0.5234 GB, free: 1.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.3975, allocations: 5.688 kB / 0.5234 GB, free: 1.754 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.0006511/0.3982, allocations: 0.6266 MB / 0.524 GB, free: 1.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3982, allocations: 8.875 kB / 0.524 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/0.3983, allocations: 44.09 kB / 0.524 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.3986, allocations: 293.5 kB / 0.5243 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.3986, allocations: 2.203 kB / 0.5243 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.3986, allocations: 7 kB / 0.5243 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.3988, allocations: 61.11 kB / 0.5244 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.3988, allocations: 7.938 kB / 0.5244 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3989, allocations: 1.688 kB / 0.5244 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3989, allocations: 1.312 kB / 0.5244 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.399, allocations: 27.12 kB / 0.5244 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.3995, allocations: 393.5 kB / 0.5248 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.3997, allocations: 49.8 kB / 0.5248 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.405e-05/0.3998, allocations: 19.33 kB / 0.5249 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.3998, allocations: 1.625 kB / 0.5249 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.3999, allocations: 35.31 kB / 0.5249 GB, free: 440 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.3999, allocations: 0 / 0.5249 GB, free: 440 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000675/0.4006, allocations: 232.8 kB / 0.5251 GB, free: 312 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.4006, allocations: 57.48 kB / 0.5252 GB, free: 244 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009891/0.4016, allocations: 0.8616 MB / 0.526 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.4016, allocations: 25.7 kB / 0.526 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.4018, allocations: 222.2 kB / 0.5263 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.4018, allocations: 21.11 kB / 0.5263 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.4019, allocations: 17.84 kB / 0.5263 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.4021, allocations: 356.4 kB / 0.5266 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.4022, allocations: 27.81 kB / 0.5267 GB, free: 15.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/0.4022, allocations: 21.2 kB / 0.5267 GB, free: 15.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.4024, allocations: 54.86 kB / 0.5267 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4024, allocations: 1.094 kB / 0.5267 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002223/0.4026, allocations: 113.5 kB / 0.5268 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.4027, allocations: 5.062 kB / 0.5268 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.4027, allocations: 5.203 kB / 0.5268 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.4027, allocations: 8 kB / 0.5269 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.4028, allocations: 10.44 kB / 0.5269 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.984e-06/0.4028, allocations: 3.984 kB / 0.5269 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.686e-05/0.4029, allocations: 15.92 kB / 0.5269 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.4029, allocations: 1.281 kB / 0.5269 GB, free: 15.15 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.0001999/0.4031, allocations: 210.9 kB / 0.5271 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.4031, allocations: 44.86 kB / 0.5271 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.4035, allocations: 142 kB / 0.5273 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4035, allocations: 1.188 kB / 0.5273 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.4035, allocations: 3.984 kB / 0.5273 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.4035, allocations: 9.188 kB / 0.5273 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006031/0.4041, allocations: 462.4 kB / 0.5277 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4041, allocations: 0 / 0.5277 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.4042, allocations: 13.61 kB / 0.5277 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4042, allocations: 4 kB / 0.5277 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.4042, allocations: 5.375 kB / 0.5277 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4042, allocations: 0 / 0.5277 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4042, allocations: 1.312 kB / 0.5277 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.4045, allocations: 216.3 kB / 0.5279 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.4046, allocations: 110.5 kB / 0.5281 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.4047, allocations: 3.938 kB / 0.5281 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.179e-05/0.4048, allocations: 12.52 kB / 0.5281 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.4048, allocations: 5.5 kB / 0.5281 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.4048, allocations: 1.812 kB / 0.5281 GB, free: 14.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006883/0.4055, allocations: 0.647 MB / 0.5287 GB, free: 13.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4055, allocations: 0 / 0.5287 GB, free: 13.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.4058, allocations: 29.98 kB / 0.5287 GB, free: 13.82 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.001017/0.4068, allocations: 394.7 kB / 0.5291 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.4071, allocations: 62.95 kB / 0.5292 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4071, allocations: 0 / 0.5292 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.4072, allocations: 30.05 kB / 0.5292 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.4076, allocations: 29.48 kB / 0.5292 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.4089, allocations: 0.8192 MB / 0.53 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.4094, allocations: 0.8305 MB / 0.5308 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.4094, allocations: 11.91 kB / 0.5309 GB, free: 12.35 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4094, allocations: 1.094 kB / 0.5309 GB, free: 12.35 MB / 398.1 MB Notification: Performance of Templates: time 0.007848/0.4173, allocations: 3.732 MB / 0.5345 GB, free: 10.37 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches