Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",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.001192/0.001192, 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.001159/0.001159, 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.438/1.438, 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.2458/0.2458, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 59.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4266, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003139/0.4298, allocations: 1.628 MB / 0.52 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.4312, allocations: 1.032 MB / 0.521 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.4313, allocations: 0 / 0.521 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.4315, allocations: 23.58 kB / 0.5211 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.4317, allocations: 45.12 kB / 0.5211 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.4321, allocations: 136.2 kB / 0.5212 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.4322, allocations: 61.75 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.4323, allocations: 13.94 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.238e-05/0.4324, allocations: 32.72 kB / 0.5213 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.4326, allocations: 27.36 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.4326, allocations: 2.938 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.4327, allocations: 56.08 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.926e-05/0.4328, allocations: 15.64 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.4328, allocations: 23.41 kB / 0.5215 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.433, allocations: 105.7 kB / 0.5216 GB, free: 1.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4331, allocations: 1.516 kB / 0.5216 GB, free: 1.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4331, allocations: 0 / 0.5216 GB, free: 1.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.4331, allocations: 0 / 0.5216 GB, free: 1.184 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.0005175/0.4336, allocations: 393.6 kB / 0.5219 GB, free: 0.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4336, allocations: 9.594 kB / 0.5219 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.957e-05/0.4337, allocations: 37.64 kB / 0.522 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.4337, allocations: 8.156 kB / 0.522 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.4339, allocations: 191.5 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.4339, allocations: 2.75 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.434, allocations: 7.125 kB / 0.5222 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.4342, allocations: 83.7 kB / 0.5223 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.4342, allocations: 1.812 kB / 0.5223 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.4342, allocations: 4 kB / 0.5223 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4342, allocations: 1.094 kB / 0.5223 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.4344, allocations: 36.45 kB / 0.5223 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.4347, allocations: 287.3 kB / 0.5226 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.4349, allocations: 47.92 kB / 0.5226 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.307e-05/0.435, allocations: 24.44 kB / 0.5226 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.435, allocations: 0 / 0.5226 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.435, allocations: 33.17 kB / 0.5227 GB, free: 76 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.435, allocations: 0 / 0.5227 GB, free: 76 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008378/0.4359, allocations: 202.3 kB / 0.5229 GB, free: 15.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.4359, allocations: 80.11 kB / 0.5229 GB, free: 15.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.4361, allocations: 147.1 kB / 0.5231 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.4361, allocations: 25.7 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.4362, allocations: 101.2 kB / 0.5232 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.4363, allocations: 29.12 kB / 0.5232 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.4363, allocations: 20.86 kB / 0.5233 GB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4364, allocations: 315.2 kB / 0.5236 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.4366, allocations: 33.92 kB / 0.5236 GB, free: 15.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.4367, allocations: 53.98 kB / 0.5236 GB, free: 15.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.4369, allocations: 77.42 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4369, allocations: 0 / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000321/0.4373, allocations: 110 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4373, allocations: 5.781 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4373, allocations: 0.7969 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.4373, allocations: 288 / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.4375, allocations: 22.64 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4375, allocations: 9.984 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.963e-05/0.4376, allocations: 8.984 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.4376, allocations: 2.938 kB / 0.5239 GB, free: 15.17 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.608e-05/0.4377, allocations: 115.5 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.4377, allocations: 12.27 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.4381, allocations: 127.9 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4381, allocations: 0 / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4381, allocations: 3.938 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4381, allocations: 0.7031 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.4387, allocations: 388.4 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4387, allocations: 9.844 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.918e-05/0.4388, allocations: 18.52 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.4388, allocations: 5 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.4388, allocations: 1.031 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.4388, allocations: 0.75 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4389, allocations: 1.141 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.4392, allocations: 217.5 kB / 0.5247 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.4393, allocations: 85.55 kB / 0.5248 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.4393, allocations: 5.25 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-05/0.4394, allocations: 9.797 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.4394, allocations: 9.859 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.4395, allocations: 1.094 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.158e-05/0.4396, allocations: 106.8 kB / 0.5249 GB, free: 14.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4396, allocations: 0 / 0.5249 GB, free: 14.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.4398, allocations: 27.09 kB / 0.525 GB, free: 14.27 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.001572/0.4414, allocations: 1.088 MB / 0.526 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.4417, allocations: 75.06 kB / 0.5261 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4417, allocations: 0 / 0.5261 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.4419, allocations: 48.92 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.4423, allocations: 23.23 kB / 0.5262 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.4443, allocations: 1.519 MB / 0.5276 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.4447, allocations: 0.7007 MB / 0.5283 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.77e-05/0.4448, allocations: 14.12 kB / 0.5283 GB, free: 11.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/0.4449, allocations: 25.58 kB / 0.5284 GB, free: 11.43 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4449, allocations: 0 / 0.5284 GB, free: 11.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.4679, allocations: 3.071 MB / 0.5314 GB, free: 9.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.565/8.033, allocations: 19.05 kB / 0.5314 GB, free: 9.957 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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