Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test21,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.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 111.3 kB / 18.45 MB, free: 4.645 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.001012/0.001012, allocations: 186.2 kB / 19.38 MB, free: 3.723 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.09 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.2084/0.2084, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.001181, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.385, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003387/0.3884, allocations: 1.983 MB / 0.5215 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.3899, allocations: 0.958 MB / 0.5224 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3901, allocations: 6.156 kB / 0.5225 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005318/0.3906, allocations: 258.8 kB / 0.5227 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.391, allocations: 189.6 kB / 0.5229 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.3924, allocations: 0.6478 MB / 0.5235 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004602/0.3929, allocations: 309.2 kB / 0.5238 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.3931, allocations: 81.69 kB / 0.5239 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.3933, allocations: 128.9 kB / 0.524 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.3936, allocations: 206.4 kB / 0.5242 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.3936, allocations: 8.781 kB / 0.5242 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.3938, allocations: 94.39 kB / 0.5243 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.394, allocations: 97.7 kB / 0.5244 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.095e-05/0.394, allocations: 110.8 kB / 0.5245 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003932/0.3944, allocations: 322.1 kB / 0.5248 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3945, allocations: 3 kB / 0.5248 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3945, allocations: 0 / 0.5248 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.3945, allocations: 0 / 0.5248 GB, free: 0.6016 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.000673/0.3952, allocations: 0.6327 MB / 0.5254 GB, free: 48 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3952, allocations: 10.47 kB / 0.5254 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.248e-05/0.3953, allocations: 36.97 kB / 0.5255 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.3957, allocations: 319.8 kB / 0.5258 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3957, allocations: 4.5 kB / 0.5258 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.3957, allocations: 11.25 kB / 0.5258 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.396, allocations: 129 kB / 0.5259 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.396, allocations: 1.375 kB / 0.5259 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.3961, allocations: 9.375 kB / 0.5259 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.3961, allocations: 2.75 kB / 0.5259 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.3963, allocations: 99.09 kB / 0.526 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007068/0.397, allocations: 0.4994 MB / 0.5265 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.3972, allocations: 104 kB / 0.5266 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.123e-05/0.3973, allocations: 44.36 kB / 0.5267 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.3974, allocations: 6.531 kB / 0.5267 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.3974, allocations: 31.75 kB / 0.5267 GB, free: 15.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.3974, allocations: 0 / 0.5267 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001015/0.3984, allocations: 437.8 kB / 0.5271 GB, free: 14.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.3985, allocations: 54.12 kB / 0.5272 GB, free: 14.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005598/0.399, allocations: 0.5297 MB / 0.5277 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.3991, allocations: 27.08 kB / 0.5277 GB, free: 14.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3992, allocations: 196.9 kB / 0.5279 GB, free: 14.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.3993, allocations: 50.14 kB / 0.5279 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.3993, allocations: 34.08 kB / 0.528 GB, free: 14.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3995, allocations: 350 kB / 0.5283 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.3997, allocations: 70.58 kB / 0.5284 GB, free: 13.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.3998, allocations: 67.62 kB / 0.5284 GB, free: 13.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.4001, allocations: 156.4 kB / 0.5286 GB, free: 13.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4001, allocations: 3.938 kB / 0.5286 GB, free: 13.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003755/0.4005, allocations: 223.4 kB / 0.5288 GB, free: 13.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4005, allocations: 9.328 kB / 0.5288 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4005, allocations: 3.938 kB / 0.5288 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.4005, allocations: 1.406 kB / 0.5288 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.4007, allocations: 38.92 kB / 0.5289 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.4007, allocations: 1.25 kB / 0.5289 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.523e-05/0.4008, allocations: 7.781 kB / 0.5289 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.4008, allocations: 11.7 kB / 0.5289 GB, free: 13.63 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.000178/0.401, allocations: 179 kB / 0.529 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.4011, allocations: 36 kB / 0.5291 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005234/0.4016, allocations: 278 kB / 0.5293 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4016, allocations: 2.375 kB / 0.5293 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4016, allocations: 7.875 kB / 0.5294 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4016, allocations: 1.094 kB / 0.5294 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008605/0.4025, allocations: 0.6596 MB / 0.53 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4025, allocations: 0 / 0.53 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.4026, allocations: 38.03 kB / 0.53 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.4026, allocations: 1.25 kB / 0.53 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.4026, allocations: 7.125 kB / 0.53 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4026, allocations: 0 / 0.53 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4027, allocations: 3.938 kB / 0.53 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.4031, allocations: 324.5 kB / 0.5304 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.283e-05/0.4032, allocations: 103.8 kB / 0.5305 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.4032, allocations: 1.625 kB / 0.5305 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.039e-05/0.4033, allocations: 15.95 kB / 0.5305 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.4034, allocations: 13.92 kB / 0.5305 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.4034, allocations: 7.938 kB / 0.5305 GB, free: 12.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004326/0.4038, allocations: 396.6 kB / 0.5309 GB, free: 12.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4038, allocations: 0 / 0.5309 GB, free: 12.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.4041, allocations: 47.25 kB / 0.5309 GB, free: 12.18 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.001608/0.4058, allocations: 0.7003 MB / 0.5316 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003653/0.4061, allocations: 162.5 kB / 0.5318 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4061, allocations: 0 / 0.5318 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.4063, allocations: 95.11 kB / 0.5318 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005982/0.4069, allocations: 84.36 kB / 0.5319 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.4081, allocations: 0.701 MB / 0.5326 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.4086, allocations: 0.8062 MB / 0.5334 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.042e-05/0.4087, allocations: 34.11 kB / 0.5334 GB, free: 10.51 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4087, allocations: 1.562 kB / 0.5334 GB, free: 10.51 MB / 398.1 MB Notification: Performance of Templates: time 0.00829/0.417, allocations: 4.549 MB / 0.5379 GB, free: 8.117 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches