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.001366/0.001367, allocations: 106.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.001106/0.001106, allocations: 187.9 kB / 18.7 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.351/1.351, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2067/0.2067, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 75.88 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3288, allocations: 60.81 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002947/0.3318, allocations: 1.632 MB / 0.52 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.3331, allocations: 1.03 MB / 0.521 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.3332, allocations: 1.281 kB / 0.521 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.3334, allocations: 22.75 kB / 0.5211 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.3336, allocations: 47.16 kB / 0.5211 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.3339, allocations: 131.1 kB / 0.5212 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.3341, allocations: 61.55 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.295e-05/0.3341, allocations: 14.25 kB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.081e-05/0.3342, allocations: 20.12 kB / 0.5213 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.3343, allocations: 42.08 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.3344, allocations: 4.719 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.3345, allocations: 46.91 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.3345, allocations: 28.09 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.3346, allocations: 23.23 kB / 0.5215 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.3348, allocations: 102.8 kB / 0.5216 GB, free: 1.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3348, allocations: 0 / 0.5216 GB, free: 1.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3348, allocations: 1.094 kB / 0.5216 GB, free: 1.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.3348, allocations: 0 / 0.5216 GB, free: 1.172 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.0004702/0.3353, allocations: 392.1 kB / 0.5219 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3353, allocations: 13.58 kB / 0.5219 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.878e-05/0.3354, allocations: 32.67 kB / 0.522 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.3354, allocations: 17.47 kB / 0.522 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.3356, allocations: 191.6 kB / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.3356, allocations: 6 kB / 0.5222 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.3356, allocations: 6.406 kB / 0.5222 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3358, allocations: 68.69 kB / 0.5223 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.3358, allocations: 1.281 kB / 0.5223 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3358, allocations: 0 / 0.5223 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3358, allocations: 1.703 kB / 0.5223 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.336, allocations: 48.69 kB / 0.5223 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.3363, allocations: 286.5 kB / 0.5226 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.3365, allocations: 40.03 kB / 0.5226 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.296e-05/0.3365, allocations: 24.02 kB / 0.5226 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.3366, allocations: 5.656 kB / 0.5226 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.3366, allocations: 36.11 kB / 0.5227 GB, free: 64 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.3366, allocations: 0 / 0.5227 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008792/0.3375, allocations: 207.5 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.3376, allocations: 78.48 kB / 0.5229 GB, free: 15.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.3377, allocations: 140.3 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.3378, allocations: 29.7 kB / 0.5231 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.3379, allocations: 93.89 kB / 0.5232 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.3379, allocations: 23.86 kB / 0.5232 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.3379, allocations: 20.69 kB / 0.5232 GB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3381, allocations: 319.7 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.3382, allocations: 39.12 kB / 0.5236 GB, free: 15.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.3383, allocations: 50.42 kB / 0.5236 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.3386, allocations: 73.3 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3386, allocations: 4.031 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003287/0.3389, allocations: 112.9 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.339, allocations: 5.25 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.339, allocations: 1.25 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.339, allocations: 0 / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.3392, allocations: 19.67 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3392, allocations: 4.688 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.557e-05/0.3393, allocations: 13.38 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3393, allocations: 6.031 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 0.0001087/0.3394, allocations: 116.5 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.3394, allocations: 8.188 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.3398, allocations: 122.5 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.3398, allocations: 5.266 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.3399, allocations: 9.125 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3399, allocations: 0.75 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006293/0.3405, allocations: 384.3 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3405, allocations: 9.094 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.3406, allocations: 22.69 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3406, allocations: 3.938 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3407, allocations: 5.828 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3407, allocations: 1.281 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3407, allocations: 0 / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.341, allocations: 205.4 kB / 0.5247 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.3411, allocations: 89.42 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.3411, allocations: 5.75 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.3412, allocations: 16.2 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.3413, allocations: 2.484 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.3413, allocations: 2.031 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.531e-05/0.3414, allocations: 116 kB / 0.5249 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3414, allocations: 3.938 kB / 0.5249 GB, free: 14.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.3417, allocations: 21.64 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.001428/0.3431, allocations: 1.087 MB / 0.526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003263/0.3434, allocations: 76.77 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3434, allocations: 1.188 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.3436, allocations: 41.88 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.0003881/0.344, allocations: 16.59 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.002058/0.3461, allocations: 1.526 MB / 0.5276 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.3463, allocations: 0.6993 MB / 0.5283 GB, free: 11.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.899e-05/0.3464, allocations: 21.8 kB / 0.5283 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.374e-05/0.3465, allocations: 27.08 kB / 0.5284 GB, free: 11.41 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3465, allocations: 0 / 0.5284 GB, free: 11.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.3681, allocations: 3.066 MB / 0.5314 GB, free: 9.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/8.17, allocations: 18.58 kB / 0.5314 GB, free: 9.945 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