Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",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.001017/0.001016, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001095/0.001095, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.352/1.352, allocations: 222.9 MB / 242.4 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.2147/0.2147, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3688, allocations: 60.81 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003166/0.372, allocations: 1.632 MB / 0.52 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.3735, allocations: 1.038 MB / 0.521 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.3736, allocations: 1.156 kB / 0.521 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.3738, allocations: 22.73 kB / 0.5211 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.3741, allocations: 50.05 kB / 0.5211 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.3744, allocations: 128.8 kB / 0.5212 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.3746, allocations: 64.58 kB / 0.5213 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.3748, allocations: 14.02 kB / 0.5213 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.917e-05/0.3748, allocations: 24.72 kB / 0.5213 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.375, allocations: 31.67 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.375, allocations: 3.375 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.3752, allocations: 55.67 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.168e-05/0.3752, allocations: 16.47 kB / 0.5214 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.3753, allocations: 26.48 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.3755, allocations: 106.5 kB / 0.5216 GB, free: 1.156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3755, allocations: 1.125 kB / 0.5216 GB, free: 1.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3755, allocations: 0 / 0.5216 GB, free: 1.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.3756, allocations: 0 / 0.5216 GB, free: 1.156 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.0005335/0.3761, allocations: 385.4 kB / 0.5219 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.3762, allocations: 10.3 kB / 0.5219 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.3762, allocations: 36.56 kB / 0.522 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.3763, allocations: 12.83 kB / 0.522 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.3764, allocations: 196.1 kB / 0.5222 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3765, allocations: 5.5 kB / 0.5222 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.3765, allocations: 6.5 kB / 0.5222 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.3767, allocations: 70.11 kB / 0.5223 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3767, allocations: 0 / 0.5223 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3767, allocations: 4 kB / 0.5223 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.3767, allocations: 1.094 kB / 0.5223 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.3769, allocations: 43.91 kB / 0.5223 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.3772, allocations: 283.9 kB / 0.5226 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.3773, allocations: 43.97 kB / 0.5226 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.558e-05/0.3774, allocations: 23.84 kB / 0.5226 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.3774, allocations: 1.312 kB / 0.5226 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.3775, allocations: 40.28 kB / 0.5227 GB, free: 52 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3775, allocations: 0 / 0.5227 GB, free: 52 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007593/0.3782, allocations: 203.1 kB / 0.5229 GB, free: 15.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.3783, allocations: 86.14 kB / 0.523 GB, free: 15.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.3785, allocations: 140.8 kB / 0.5231 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.3785, allocations: 25.7 kB / 0.5231 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.3786, allocations: 97.98 kB / 0.5232 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.3786, allocations: 25.08 kB / 0.5232 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.3786, allocations: 19.8 kB / 0.5232 GB, free: 15.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3788, allocations: 320.5 kB / 0.5236 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.3789, allocations: 32.84 kB / 0.5236 GB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.379, allocations: 47.36 kB / 0.5236 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.3792, allocations: 73.67 kB / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3792, allocations: 0 / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002906/0.3795, allocations: 125.6 kB / 0.5238 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3796, allocations: 4.531 kB / 0.5238 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3796, allocations: 0.9375 kB / 0.5238 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3796, allocations: 5.844 kB / 0.5238 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3797, allocations: 18.78 kB / 0.5238 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3797, allocations: 3.938 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.825e-05/0.3798, allocations: 9.594 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3798, allocations: 2.594 kB / 0.5239 GB, free: 15.15 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 9.647e-05/0.3799, allocations: 119.6 kB / 0.524 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.38, allocations: 8.375 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.3803, allocations: 122.9 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.3803, allocations: 5.688 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3803, allocations: 3.938 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3804, allocations: 1.906 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005673/0.3809, allocations: 388.1 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3809, allocations: 3.938 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.792e-05/0.381, allocations: 23.66 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.3811, allocations: 3.938 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3811, allocations: 5.891 kB / 0.5245 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3811, allocations: 1.375 kB / 0.5245 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3811, allocations: 4 kB / 0.5245 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.3814, allocations: 202.3 kB / 0.5247 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.3815, allocations: 85.5 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.3815, allocations: 5.031 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-05/0.3816, allocations: 12.86 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.3816, allocations: 9.938 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.3817, allocations: 2.188 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.491e-05/0.3818, allocations: 109.1 kB / 0.5249 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3818, allocations: 0 / 0.5249 GB, free: 14.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.382, allocations: 23.66 kB / 0.525 GB, free: 14.25 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.00153/0.3836, allocations: 1.092 MB / 0.526 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.3839, allocations: 86.42 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3839, allocations: 0 / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.384, allocations: 41.69 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.3844, allocations: 17.39 kB / 0.5262 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.3863, allocations: 1.525 MB / 0.5276 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.3866, allocations: 0.6953 MB / 0.5283 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.3867, allocations: 23.64 kB / 0.5283 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/0.3868, allocations: 26 kB / 0.5284 GB, free: 11.4 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3868, allocations: 0 / 0.5284 GB, free: 11.4 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.4097, allocations: 3.071 MB / 0.5314 GB, free: 9.949 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/7.868, allocations: 20.2 kB / 0.5314 GB, free: 9.934 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y,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(clock1.y),der(clock2.y),der(d_t_new.u),t_new.extrapolation,t_new.smoothness,t_new.tableOnFile,t_new.u1,t_new.u2,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,time