Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 112.6 kB / 18.45 MB, free: 4.621 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.001269/0.001269, allocations: 185.2 kB / 19.38 MB, free: 3.699 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.364/1.364, allocations: 222.9 MB / 243.1 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.2139/0.2139, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3864, allocations: 60.83 MB / 0.5196 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003242/0.3897, allocations: 1.858 MB / 0.5214 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.3913, allocations: 0.9248 MB / 0.5223 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.3914, allocations: 6.125 kB / 0.5223 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006031/0.392, allocations: 257.1 kB / 0.5225 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004271/0.3925, allocations: 193.3 kB / 0.5227 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.394, allocations: 0.6391 MB / 0.5233 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004933/0.3945, allocations: 271 kB / 0.5236 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.3947, allocations: 58.42 kB / 0.5237 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.3949, allocations: 125.9 kB / 0.5238 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.3952, allocations: 187.3 kB / 0.524 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.3952, allocations: 6.406 kB / 0.524 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.3954, allocations: 51.7 kB / 0.524 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.3955, allocations: 90.22 kB / 0.5241 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.402e-05/0.3956, allocations: 100.2 kB / 0.5242 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.396, allocations: 275.1 kB / 0.5245 GB, free: 1.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.396, allocations: 0.6562 kB / 0.5245 GB, free: 1.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.396, allocations: 0 / 0.5245 GB, free: 1.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.396, allocations: 0 / 0.5245 GB, free: 1.051 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000664/0.3967, allocations: 0.5877 MB / 0.525 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3968, allocations: 10.19 kB / 0.525 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.793e-05/0.3968, allocations: 40.97 kB / 0.5251 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.3971, allocations: 302.4 kB / 0.5254 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.3971, allocations: 7.125 kB / 0.5254 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.3972, allocations: 4.406 kB / 0.5254 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.3974, allocations: 106.3 kB / 0.5255 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3974, allocations: 0 / 0.5255 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3974, allocations: 1.156 kB / 0.5255 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3974, allocations: 1.312 kB / 0.5255 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.3976, allocations: 71.47 kB / 0.5256 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006675/0.3983, allocations: 450.2 kB / 0.526 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.3984, allocations: 72.11 kB / 0.5261 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.807e-05/0.3985, allocations: 33.14 kB / 0.5261 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.3986, allocations: 3.656 kB / 0.5261 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.3986, allocations: 35.31 kB / 0.5261 GB, free: 15.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.3986, allocations: 0 / 0.5261 GB, free: 15.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003832/0.399, allocations: 158.4 kB / 0.5263 GB, free: 15.63 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.399, allocations: 55.34 kB / 0.5263 GB, free: 15.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005762/0.3996, allocations: 0.5238 MB / 0.5268 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3996, allocations: 27.08 kB / 0.5269 GB, free: 15.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.3998, allocations: 191.3 kB / 0.527 GB, free: 15.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.3998, allocations: 22.41 kB / 0.5271 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.3999, allocations: 27.2 kB / 0.5271 GB, free: 15.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4, allocations: 341.8 kB / 0.5274 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.747e-05/0.4001, allocations: 29.72 kB / 0.5274 GB, free: 14.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.697e-05/0.4001, allocations: 27.11 kB / 0.5275 GB, free: 14.69 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.4003, allocations: 62.2 kB / 0.5275 GB, free: 14.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4003, allocations: 4 kB / 0.5275 GB, free: 14.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002076/0.4005, allocations: 122.7 kB / 0.5277 GB, free: 14.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4005, allocations: 9.5 kB / 0.5277 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4005, allocations: 1.375 kB / 0.5277 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.4006, allocations: 0 / 0.5277 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.562e-05/0.4007, allocations: 17.55 kB / 0.5277 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.4007, allocations: 1.375 kB / 0.5277 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.575e-05/0.4007, allocations: 14.59 kB / 0.5277 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.4008, allocations: 1.375 kB / 0.5277 GB, free: 14.55 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 (6): * Single equations (assignments): 6 * 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.000146/0.4009, allocations: 168.3 kB / 0.5279 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.401, allocations: 30.75 kB / 0.5279 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.4013, allocations: 154.4 kB / 0.528 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.4013, allocations: 5.312 kB / 0.528 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4013, allocations: 0 / 0.528 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4013, allocations: 1.375 kB / 0.528 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.4016, allocations: 277.5 kB / 0.5283 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4016, allocations: 0 / 0.5283 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.4017, allocations: 14.05 kB / 0.5283 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4017, allocations: 0 / 0.5283 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.4017, allocations: 5.688 kB / 0.5283 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4017, allocations: 11.88 kB / 0.5283 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4017, allocations: 0.8125 kB / 0.5283 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.402, allocations: 215 kB / 0.5285 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.4021, allocations: 104.6 kB / 0.5286 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.4021, allocations: 4.172 kB / 0.5286 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.483e-05/0.4022, allocations: 10.75 kB / 0.5287 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.4022, allocations: 1.219 kB / 0.5287 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.4023, allocations: 7.469 kB / 0.5287 GB, free: 13.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004116/0.4027, allocations: 398.3 kB / 0.529 GB, free: 13.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4027, allocations: 1.156 kB / 0.529 GB, free: 13.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.403, allocations: 27.34 kB / 0.5291 GB, free: 13.5 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 (6): * Single equations (assignments): 6 * 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.0014/0.4044, allocations: 0.5931 MB / 0.5296 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.4046, allocations: 60.06 kB / 0.5297 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4046, allocations: 4 kB / 0.5297 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.4047, allocations: 37.25 kB / 0.5297 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.4053, allocations: 65.3 kB / 0.5298 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.4063, allocations: 0.613 MB / 0.5304 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.4067, allocations: 0.7949 MB / 0.5312 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/0.4068, allocations: 28.98 kB / 0.5312 GB, free: 12 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4068, allocations: 0 / 0.5312 GB, free: 12 MB / 398.1 MB Notification: Performance of Templates: time 0.007732/0.4146, allocations: 3.754 MB / 0.5349 GB, free: 10.01 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches