Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.00135, 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.00121/0.00121, 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.338/1.338, allocations: 222.9 MB / 243.1 MB, free: 15.02 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.2111/0.2111, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 55.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3815, allocations: 60.84 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.003297/0.3848, allocations: 1.84 MB / 0.5214 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.3862, allocations: 0.8286 MB / 0.5222 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.3863, allocations: 1.188 kB / 0.5222 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005507/0.3869, allocations: 241.5 kB / 0.5224 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.3873, allocations: 202 kB / 0.5226 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009993/0.3883, allocations: 479.4 kB / 0.5231 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.3887, allocations: 247.7 kB / 0.5233 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.3888, allocations: 42.53 kB / 0.5233 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.389, allocations: 123.3 kB / 0.5235 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.3892, allocations: 188.2 kB / 0.5236 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.3893, allocations: 6.625 kB / 0.5236 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.3894, allocations: 46.47 kB / 0.5237 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.3895, allocations: 81.81 kB / 0.5238 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.443e-05/0.3896, allocations: 93.55 kB / 0.5239 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.3899, allocations: 256.9 kB / 0.5241 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.39, allocations: 0 / 0.5241 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.39, allocations: 0 / 0.5241 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.39, allocations: 1.25 kB / 0.5241 GB, free: 0.9805 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.0006069/0.3906, allocations: 0.5888 MB / 0.5247 GB, free: 464 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3906, allocations: 10.58 kB / 0.5247 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.3907, allocations: 31.34 kB / 0.5247 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.391, allocations: 300.6 kB / 0.525 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.391, allocations: 6.844 kB / 0.525 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.391, allocations: 4.469 kB / 0.525 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.3912, allocations: 80.75 kB / 0.5251 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3913, allocations: 0 / 0.5251 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3913, allocations: 9.188 kB / 0.5251 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3913, allocations: 2.141 kB / 0.5251 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.3914, allocations: 47.59 kB / 0.5251 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.3921, allocations: 419.9 kB / 0.5255 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.3922, allocations: 56.78 kB / 0.5256 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.538e-05/0.3923, allocations: 27.16 kB / 0.5256 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.3923, allocations: 3.453 kB / 0.5256 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.3923, allocations: 39.44 kB / 0.5257 GB, free: 15.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.123e-06/0.3924, allocations: 0 / 0.5257 GB, free: 15.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003519/0.3927, allocations: 123.1 kB / 0.5258 GB, free: 15.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.3928, allocations: 57.38 kB / 0.5258 GB, free: 15.53 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005988/0.3934, allocations: 0.5119 MB / 0.5263 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3934, allocations: 37.64 kB / 0.5264 GB, free: 15.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.3935, allocations: 186.1 kB / 0.5266 GB, free: 15.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.3936, allocations: 24.7 kB / 0.5266 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.3936, allocations: 20.02 kB / 0.5266 GB, free: 15.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3938, allocations: 343.2 kB / 0.5269 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.988e-05/0.3938, allocations: 18.33 kB / 0.5269 GB, free: 14.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.563e-05/0.3939, allocations: 26.17 kB / 0.527 GB, free: 14.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.394, allocations: 51.55 kB / 0.527 GB, free: 14.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.394, allocations: 1.375 kB / 0.527 GB, free: 14.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001997/0.3942, allocations: 106.1 kB / 0.5271 GB, free: 14.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3943, allocations: 5.5 kB / 0.5271 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3943, allocations: 0 / 0.5271 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3943, allocations: 2.125 kB / 0.5271 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.3944, allocations: 15.53 kB / 0.5271 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.3944, allocations: 3.984 kB / 0.5271 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.008e-05/0.3945, allocations: 8.141 kB / 0.5272 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3945, allocations: 6.75 kB / 0.5272 GB, free: 14.64 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.0001466/0.3946, allocations: 166.9 kB / 0.5273 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.3947, allocations: 41.2 kB / 0.5274 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.395, allocations: 120.9 kB / 0.5275 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.395, allocations: 5.312 kB / 0.5275 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.395, allocations: 0 / 0.5275 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.395, allocations: 5.359 kB / 0.5275 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.3953, allocations: 267.2 kB / 0.5277 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3953, allocations: 0 / 0.5277 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.3954, allocations: 15 kB / 0.5278 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3954, allocations: 3.938 kB / 0.5278 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3954, allocations: 5.359 kB / 0.5278 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3954, allocations: 3.938 kB / 0.5278 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3954, allocations: 1.375 kB / 0.5278 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.3957, allocations: 205.8 kB / 0.528 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.3957, allocations: 95.7 kB / 0.5281 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.3958, allocations: 5.375 kB / 0.5281 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.3959, allocations: 5.312 kB / 0.5281 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.3959, allocations: 10.73 kB / 0.5281 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.3959, allocations: 1.375 kB / 0.5281 GB, free: 13.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003963/0.3963, allocations: 389.2 kB / 0.5284 GB, free: 13.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3963, allocations: 0 / 0.5284 GB, free: 13.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.3966, allocations: 42.83 kB / 0.5285 GB, free: 13.6 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.001383/0.398, allocations: 0.5952 MB / 0.5291 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.3982, allocations: 49.06 kB / 0.5291 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3982, allocations: 0 / 0.5291 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.257e-05/0.3983, allocations: 20.53 kB / 0.5291 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005484/0.3988, allocations: 77.62 kB / 0.5292 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008957/0.3997, allocations: 0.5684 MB / 0.5298 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.4001, allocations: 0.7889 MB / 0.5305 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.4002, allocations: 20.03 kB / 0.5306 GB, free: 12.14 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4002, allocations: 0 / 0.5306 GB, free: 12.14 MB / 398.1 MB Notification: Performance of Templates: time 0.005879/0.4061, allocations: 3.554 MB / 0.534 GB, free: 10.25 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches