Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 113.3 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.001296/0.001296, allocations: 181.1 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.351/1.351, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 63.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4247, allocations: 60.83 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.004031/0.4288, allocations: 1.963 MB / 0.5215 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.4305, allocations: 0.8536 MB / 0.5223 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.4306, allocations: 2.531 kB / 0.5223 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005977/0.4312, allocations: 249.6 kB / 0.5226 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004645/0.4317, allocations: 193.1 kB / 0.5228 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.4329, allocations: 493.7 kB / 0.5232 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004403/0.4334, allocations: 275.5 kB / 0.5235 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.4336, allocations: 70.3 kB / 0.5236 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.4338, allocations: 129.6 kB / 0.5237 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.4341, allocations: 193.4 kB / 0.5239 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.4341, allocations: 14.55 kB / 0.5239 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.4343, allocations: 97.77 kB / 0.524 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.4345, allocations: 86.92 kB / 0.5241 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.383e-05/0.4346, allocations: 109.8 kB / 0.5242 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004564/0.435, allocations: 311.2 kB / 0.5245 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4351, allocations: 0 / 0.5245 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4351, allocations: 0 / 0.5245 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.4351, allocations: 0 / 0.5245 GB, free: 0.7734 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007132/0.4358, allocations: 0.6266 MB / 0.5251 GB, free: 228 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4359, allocations: 8.938 kB / 0.5251 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.5e-05/0.4359, allocations: 37.59 kB / 0.5251 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.4363, allocations: 295.3 kB / 0.5254 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.4363, allocations: 9.031 kB / 0.5254 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.4364, allocations: 11.95 kB / 0.5254 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.4366, allocations: 114 kB / 0.5255 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.4367, allocations: 1.859 kB / 0.5255 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.4367, allocations: 5.438 kB / 0.5255 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.4367, allocations: 2.375 kB / 0.5255 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.4369, allocations: 74 kB / 0.5256 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007276/0.4376, allocations: 478.8 kB / 0.5261 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.4378, allocations: 94.83 kB / 0.5262 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.949e-05/0.4379, allocations: 37.61 kB / 0.5262 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.438, allocations: 7.484 kB / 0.5262 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.438, allocations: 31.97 kB / 0.5262 GB, free: 15.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.438, allocations: 0 / 0.5262 GB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009906/0.439, allocations: 381.6 kB / 0.5266 GB, free: 15.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.4391, allocations: 54.95 kB / 0.5266 GB, free: 15.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/0.4396, allocations: 0.5223 MB / 0.5271 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.4397, allocations: 31.08 kB / 0.5272 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.4398, allocations: 191.6 kB / 0.5274 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.4399, allocations: 57.98 kB / 0.5274 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.44, allocations: 34.08 kB / 0.5275 GB, free: 14.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.4401, allocations: 349.8 kB / 0.5278 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.4403, allocations: 46.09 kB / 0.5278 GB, free: 14.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.4404, allocations: 55.41 kB / 0.5279 GB, free: 14.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.4406, allocations: 124 kB / 0.528 GB, free: 14.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4406, allocations: 5.438 kB / 0.528 GB, free: 14.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003592/0.441, allocations: 189.9 kB / 0.5282 GB, free: 14.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.441, allocations: 5.281 kB / 0.5282 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.441, allocations: 0 / 0.5282 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.4411, allocations: 0.9062 kB / 0.5282 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.4412, allocations: 42.47 kB / 0.5282 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.4412, allocations: 5.25 kB / 0.5282 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.054e-05/0.4413, allocations: 3.844 kB / 0.5282 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.4413, allocations: 3.812 kB / 0.5282 GB, free: 13.99 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 (17): * Single equations (assignments): 17 * 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.0001642/0.4415, allocations: 180.3 kB / 0.5284 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.97e-05/0.4416, allocations: 35.38 kB / 0.5284 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.4421, allocations: 240.9 kB / 0.5287 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.4421, allocations: 2.906 kB / 0.5287 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4421, allocations: 4 kB / 0.5287 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4421, allocations: 0 / 0.5287 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008042/0.4429, allocations: 0.6036 MB / 0.5293 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4429, allocations: 1.719 kB / 0.5293 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.443, allocations: 37.3 kB / 0.5293 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.443, allocations: 5.047 kB / 0.5293 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.4431, allocations: 2.438 kB / 0.5293 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4431, allocations: 4 kB / 0.5293 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.4431, allocations: 8.906 kB / 0.5293 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.4435, allocations: 289.8 kB / 0.5296 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.388e-05/0.4436, allocations: 103.6 kB / 0.5297 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.4436, allocations: 5.5 kB / 0.5297 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.4437, allocations: 4.5 kB / 0.5297 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.4437, allocations: 16.52 kB / 0.5297 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.4438, allocations: 9.5 kB / 0.5297 GB, free: 12.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004295/0.4442, allocations: 393.1 kB / 0.5301 GB, free: 12.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4442, allocations: 0 / 0.5301 GB, free: 12.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.4445, allocations: 48.59 kB / 0.5302 GB, free: 12.59 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 (17): * Single equations (assignments): 17 * 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.001704/0.4462, allocations: 0.6875 MB / 0.5308 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003566/0.4466, allocations: 129.5 kB / 0.531 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4466, allocations: 0 / 0.531 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.4468, allocations: 78.5 kB / 0.531 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005987/0.4474, allocations: 73.02 kB / 0.5311 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.4485, allocations: 0.6704 MB / 0.5318 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.4489, allocations: 0.7993 MB / 0.5325 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.206e-05/0.449, allocations: 29.55 kB / 0.5326 GB, free: 10.98 MB / 398.1 MB Notification: Performance of SimCode: time 7.293e-06/0.449, allocations: 0.7812 kB / 0.5326 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Templates: time 0.008064/0.4571, allocations: 4.278 MB / 0.5367 GB, free: 8.719 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches