Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 108.1 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.00126/0.00126, allocations: 180.2 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.395/1.395, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2122/0.2122, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 75.88 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3941, allocations: 60.82 MB / 0.5196 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003297/0.3975, allocations: 1.624 MB / 0.5212 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009465/0.3985, allocations: 0.6819 MB / 0.5218 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.3985, allocations: 1.25 kB / 0.5218 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.3988, allocations: 24.12 kB / 0.5219 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.3991, allocations: 39.75 kB / 0.5219 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.214e-06/0.3991, allocations: 0 / 0.5219 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.3993, allocations: 38.67 kB / 0.5219 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.569e-05/0.3994, allocations: 3.281 kB / 0.5219 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.021e-05/0.3994, allocations: 16.36 kB / 0.5219 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.223e-05/0.3995, allocations: 17.91 kB / 0.522 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.3995, allocations: 0 / 0.522 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.069e-05/0.3996, allocations: 7.891 kB / 0.522 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.297e-05/0.3996, allocations: 14.5 kB / 0.522 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.3997, allocations: 23.77 kB / 0.522 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.3999, allocations: 67.11 kB / 0.5221 GB, free: 1.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3999, allocations: 1.375 kB / 0.5221 GB, free: 1.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3999, allocations: 3.938 kB / 0.5221 GB, free: 1.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3999, allocations: 0 / 0.5221 GB, free: 1.855 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003772/0.4003, allocations: 366.4 kB / 0.5224 GB, free: 1.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.4003, allocations: 9.875 kB / 0.5224 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.4004, allocations: 7.719 kB / 0.5224 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.4005, allocations: 172.9 kB / 0.5226 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.4005, allocations: 1.656 kB / 0.5226 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.4005, allocations: 5.719 kB / 0.5226 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.4008, allocations: 133.3 kB / 0.5227 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.4008, allocations: 0.9375 kB / 0.5227 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.4008, allocations: 5.25 kB / 0.5227 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.726e-05/0.4009, allocations: 23.11 kB / 0.5228 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.287e-05/0.401, allocations: 46.23 kB / 0.5228 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000588/0.4016, allocations: 0.8894 MB / 0.5237 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.746e-05/0.4016, allocations: 166.3 kB / 0.5238 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.626e-05/0.4017, allocations: 85.61 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.4017, allocations: 84.19 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/0.4018, allocations: 110.5 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.4018, allocations: 1 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.881e-05/0.4019, allocations: 38.17 kB / 0.5241 GB, free: 15.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.402, allocations: 126.7 kB / 0.5243 GB, free: 15.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.4022, allocations: 190.5 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.4023, allocations: 25.7 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.4024, allocations: 154.4 kB / 0.5246 GB, free: 15.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.612e-06/0.4024, allocations: 1.812 kB / 0.5246 GB, free: 15.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-05/0.4025, allocations: 44.34 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4026, allocations: 320.9 kB / 0.525 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.609e-05/0.4027, allocations: 31.11 kB / 0.525 GB, free: 14.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.4029, allocations: 153.8 kB / 0.5251 GB, free: 14.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.4032, allocations: 207.5 kB / 0.5253 GB, free: 14.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4032, allocations: 1.156 kB / 0.5253 GB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000381/0.4036, allocations: 204 kB / 0.5255 GB, free: 14.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.4036, allocations: 6.844 kB / 0.5255 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.4036, allocations: 4.5 kB / 0.5255 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/0.4036, allocations: 6.406 kB / 0.5256 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.4038, allocations: 37.55 kB / 0.5256 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/0.4038, allocations: 6.391 kB / 0.5256 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.097e-05/0.4039, allocations: 21.39 kB / 0.5256 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.4039, allocations: 9.312 kB / 0.5256 GB, free: 14.45 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001695/0.4041, allocations: 222.2 kB / 0.5258 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-05/0.4042, allocations: 116.8 kB / 0.5259 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.177e-05/0.4043, allocations: 116 kB / 0.5261 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-05/0.4044, allocations: 178.8 kB / 0.5262 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-05/0.4045, allocations: 190.1 kB / 0.5264 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-05/0.4045, allocations: 181.1 kB / 0.5266 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.4048, allocations: 424.3 kB / 0.527 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.355e-05/0.4049, allocations: 108.1 kB / 0.5271 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.968e-05/0.4049, allocations: 105.8 kB / 0.5272 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-05/0.405, allocations: 180.7 kB / 0.5274 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/0.4051, allocations: 180.6 kB / 0.5275 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.317e-05/0.4052, allocations: 185 kB / 0.5277 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.671e-05/0.4053, allocations: 177.1 kB / 0.5279 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.4055, allocations: 316.3 kB / 0.5282 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4056, allocations: 189.4 kB / 0.5284 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.4057, allocations: 190.6 kB / 0.5285 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.4e-05/0.4058, allocations: 102.8 kB / 0.5286 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.599e-05/0.4059, allocations: 186.4 kB / 0.5288 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/0.4059, allocations: 101.7 kB / 0.5289 GB, free: 10.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.4061, allocations: 126.6 kB / 0.529 GB, free: 10.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4061, allocations: 0 / 0.529 GB, free: 10.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003131/0.4064, allocations: 16.45 kB / 0.5291 GB, free: 10.84 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 (0): * Single equations (assignments): 0 * 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.0005799/0.407, allocations: 274 kB / 0.5293 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.4072, allocations: 73.67 kB / 0.5294 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4072, allocations: 0 / 0.5294 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.4072, allocations: 2.328 kB / 0.5294 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.4076, allocations: 466.5 kB / 0.5298 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.408, allocations: 272.6 kB / 0.5301 GB, free: 9.914 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.4084, allocations: 0.7026 MB / 0.5308 GB, free: 9.211 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.4086, allocations: 20.27 kB / 0.5308 GB, free: 9.199 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4086, allocations: 0 / 0.5308 GB, free: 9.199 MB / 398.1 MB Notification: Performance of Templates: time 0.004365/0.413, allocations: 1.299 MB / 0.5321 GB, free: 9.023 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches