Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001177/0.001177, allocations: 188.1 kB / 18.71 MB, free: 4.344 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.427/1.427, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2437/0.2437, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3949, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002632/0.3976, allocations: 1.62 MB / 0.52 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.399, allocations: 1.065 MB / 0.5211 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.558e-05/0.3991, allocations: 1.375 kB / 0.5211 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.3993, allocations: 16.17 kB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.3996, allocations: 46.33 kB / 0.5211 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.4002, allocations: 178.7 kB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.4004, allocations: 73.86 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.4005, allocations: 15.41 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.676e-05/0.4006, allocations: 24.64 kB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.4008, allocations: 36.36 kB / 0.5214 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.4008, allocations: 4.875 kB / 0.5214 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.4009, allocations: 46.3 kB / 0.5215 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.401, allocations: 22.06 kB / 0.5215 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.4011, allocations: 31.08 kB / 0.5215 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.4014, allocations: 101.5 kB / 0.5216 GB, free: 1.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4014, allocations: 1.156 kB / 0.5216 GB, free: 1.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4014, allocations: 0 / 0.5216 GB, free: 1.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.4014, allocations: 0 / 0.5216 GB, free: 1.137 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006131/0.402, allocations: 406.2 kB / 0.522 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.4021, allocations: 9.031 kB / 0.522 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.4021, allocations: 33.14 kB / 0.5221 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.4022, allocations: 9.281 kB / 0.5221 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.4024, allocations: 193.6 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.4024, allocations: 5.656 kB / 0.5223 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.4025, allocations: 2.656 kB / 0.5223 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.4027, allocations: 88.27 kB / 0.5223 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4027, allocations: 1.469 kB / 0.5223 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.4027, allocations: 4 kB / 0.5224 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.4027, allocations: 5.328 kB / 0.5224 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.4029, allocations: 36.25 kB / 0.5224 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.4034, allocations: 302 kB / 0.5227 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.4035, allocations: 50.84 kB / 0.5227 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.211e-05/0.4036, allocations: 29.55 kB / 0.5228 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.4036, allocations: 1 kB / 0.5228 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.4036, allocations: 32.33 kB / 0.5228 GB, free: 16 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.694e-06/0.4037, allocations: 0 / 0.5228 GB, free: 16 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008538/0.4045, allocations: 229.7 kB / 0.523 GB, free: 15.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.4046, allocations: 79.03 kB / 0.5231 GB, free: 15.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.4047, allocations: 148.5 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.4048, allocations: 27.08 kB / 0.5232 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.4048, allocations: 97.92 kB / 0.5233 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.4048, allocations: 24.33 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.4049, allocations: 20.25 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.405, allocations: 320.4 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.4051, allocations: 41.81 kB / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.4053, allocations: 64.25 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.4055, allocations: 82.75 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4055, allocations: 0 / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003372/0.4059, allocations: 126.5 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.4059, allocations: 4.875 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4059, allocations: 4.547 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.406, allocations: 1.281 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.4061, allocations: 19.3 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.4061, allocations: 8.391 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.621e-05/0.4062, allocations: 9.312 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.4062, allocations: 2.188 kB / 0.524 GB, free: 15.09 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 (7): * Single equations (assignments): 7 * 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.0001014/0.4063, allocations: 117.2 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.4064, allocations: 13.09 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004055/0.4068, allocations: 137.5 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4068, allocations: 0 / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.4068, allocations: 6.203 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4068, allocations: 0 / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000686/0.4075, allocations: 411.8 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4075, allocations: 0 / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.94e-05/0.4076, allocations: 19.53 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.4076, allocations: 7.875 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.4077, allocations: 1.938 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4077, allocations: 1.25 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4077, allocations: 80 / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.4081, allocations: 227.7 kB / 0.5249 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.4081, allocations: 84.38 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.4081, allocations: 10.33 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.666e-05/0.4083, allocations: 9.484 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.4083, allocations: 6.484 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.4083, allocations: 0 / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.4084, allocations: 113.2 kB / 0.5252 GB, free: 14.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.725e-06/0.4084, allocations: 4 kB / 0.5252 GB, free: 14.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.4087, allocations: 31.09 kB / 0.5252 GB, free: 14.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 (7): * Single equations (assignments): 7 * 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.001529/0.4103, allocations: 1.092 MB / 0.5263 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003352/0.4106, allocations: 90.72 kB / 0.5263 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4106, allocations: 0 / 0.5263 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.4108, allocations: 52.77 kB / 0.5264 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.4112, allocations: 22.64 kB / 0.5264 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.4133, allocations: 1.589 MB / 0.528 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.4136, allocations: 0.7015 MB / 0.5286 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.4137, allocations: 22.88 kB / 0.5287 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/0.4138, allocations: 27.45 kB / 0.5287 GB, free: 11.31 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4138, allocations: 0 / 0.5287 GB, free: 11.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.4396, allocations: 3.171 MB / 0.5318 GB, free: 9.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.56/8, allocations: 10.86 kB / 0.5318 GB, free: 9.723 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.u1[1],t_new.u2[1],t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time