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.001051/0.001051, allocations: 110.4 kB / 17.78 MB, free: 5.293 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.001188/0.001188, allocations: 187.1 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.301/1.301, 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.2043/0.2043, allocations: 44.18 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 59.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.308, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002642/0.3107, allocations: 1.622 MB / 0.52 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.3119, allocations: 1.033 MB / 0.521 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.3119, allocations: 1.25 kB / 0.521 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.3121, allocations: 18.97 kB / 0.5211 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.3123, allocations: 46.09 kB / 0.5211 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.3126, allocations: 140.6 kB / 0.5212 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.3127, allocations: 61.72 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.043e-05/0.3128, allocations: 13.09 kB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.617e-05/0.3129, allocations: 28.02 kB / 0.5213 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.313, allocations: 28.75 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.313, allocations: 3.812 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.824e-05/0.3131, allocations: 59.11 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.3132, allocations: 19.39 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.3132, allocations: 23.19 kB / 0.5215 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.3134, allocations: 102.5 kB / 0.5216 GB, free: 1.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3134, allocations: 0.7031 kB / 0.5216 GB, free: 1.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3134, allocations: 1.031 kB / 0.5216 GB, free: 1.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.3135, allocations: 0 / 0.5216 GB, free: 1.18 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.0004141/0.3139, allocations: 388.7 kB / 0.5219 GB, free: 0.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3139, allocations: 9.969 kB / 0.5219 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.745e-05/0.3139, allocations: 37.08 kB / 0.522 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.314, allocations: 12.44 kB / 0.522 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3141, allocations: 199.8 kB / 0.5222 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.3142, allocations: 1.656 kB / 0.5222 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.3142, allocations: 7.375 kB / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.3144, allocations: 73.22 kB / 0.5223 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3144, allocations: 0 / 0.5223 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3144, allocations: 5.125 kB / 0.5223 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3144, allocations: 0.7969 kB / 0.5223 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.3145, allocations: 44.72 kB / 0.5223 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.3149, allocations: 286.2 kB / 0.5226 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.315, allocations: 44.89 kB / 0.5226 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.547e-05/0.3151, allocations: 23.5 kB / 0.5226 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3151, allocations: 5.344 kB / 0.5226 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.3151, allocations: 32.7 kB / 0.5227 GB, free: 68 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.3151, allocations: 3.938 kB / 0.5227 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000762/0.3159, allocations: 198.7 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.316, allocations: 87.03 kB / 0.523 GB, free: 15.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.3161, allocations: 142.6 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3162, allocations: 26.7 kB / 0.5231 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.3162, allocations: 97.33 kB / 0.5232 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.3163, allocations: 25.23 kB / 0.5232 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.3163, allocations: 24.81 kB / 0.5233 GB, free: 15.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3164, allocations: 315.7 kB / 0.5236 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.3166, allocations: 37.38 kB / 0.5236 GB, free: 15.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.3167, allocations: 42.52 kB / 0.5236 GB, free: 15.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.3169, allocations: 73.14 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3169, allocations: 9.094 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002668/0.3172, allocations: 113.2 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3172, allocations: 5.969 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3172, allocations: 0 / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3172, allocations: 288 / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.3173, allocations: 20.38 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3174, allocations: 3.938 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.3174, allocations: 14.62 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.3174, allocations: 1.531 kB / 0.5239 GB, free: 15.16 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.098e-05/0.3175, allocations: 115.6 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.3176, allocations: 12.36 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.3179, allocations: 126.9 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3179, allocations: 1.125 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3179, allocations: 7.938 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3179, allocations: 0.8906 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.3184, allocations: 381.1 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3184, allocations: 5.125 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.949e-05/0.3185, allocations: 22.52 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3185, allocations: 3.938 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3185, allocations: 9.125 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3186, allocations: 1.844 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3186, allocations: 80 / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.3189, allocations: 209.9 kB / 0.5247 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.3189, allocations: 89.7 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.319, allocations: 4.906 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.3191, allocations: 14.81 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.3191, allocations: 9.219 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.3191, allocations: 1.891 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.941e-05/0.3192, allocations: 105.8 kB / 0.5249 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3192, allocations: 1.188 kB / 0.5249 GB, free: 14.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.3195, allocations: 22.81 kB / 0.525 GB, free: 14.26 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.001417/0.3209, allocations: 1.094 MB / 0.526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.3212, allocations: 73.7 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3212, allocations: 5.688 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.3213, allocations: 40.19 kB / 0.5261 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.3217, allocations: 18.89 kB / 0.5262 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.3235, allocations: 1.524 MB / 0.5276 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.3238, allocations: 0.6993 MB / 0.5283 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.418e-05/0.3239, allocations: 18.86 kB / 0.5283 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.78e-05/0.324, allocations: 26.28 kB / 0.5284 GB, free: 11.41 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.324, allocations: 0 / 0.5284 GB, free: 11.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.3445, allocations: 3.07 MB / 0.5314 GB, free: 9.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.633/7.977, allocations: 13.14 kB / 0.5314 GB, free: 9.949 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