Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.001517/0.001516, allocations: 114.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.002027/0.002027, allocations: 187 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.433/1.433, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2071/0.2071, allocations: 44.18 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.326, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002631/0.3286, allocations: 1.665 MB / 0.5201 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007712/0.3294, allocations: 484.3 kB / 0.5205 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.904e-05/0.3295, allocations: 1.062 kB / 0.5205 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.3297, allocations: 27.94 kB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.3299, allocations: 44.8 kB / 0.5206 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.3303, allocations: 178.1 kB / 0.5208 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.3305, allocations: 87.92 kB / 0.5208 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.253e-05/0.3306, allocations: 16.5 kB / 0.5209 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.3306, allocations: 37.25 kB / 0.5209 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.634e-05/0.3307, allocations: 36.58 kB / 0.5209 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.3307, allocations: 9.406 kB / 0.5209 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.3308, allocations: 57.92 kB / 0.521 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.3309, allocations: 26.14 kB / 0.521 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.3309, allocations: 30.83 kB / 0.5211 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.3311, allocations: 124.9 kB / 0.5212 GB, free: 1.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3311, allocations: 0 / 0.5212 GB, free: 1.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3312, allocations: 0 / 0.5212 GB, free: 1.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3312, allocations: 1.25 kB / 0.5212 GB, free: 1.512 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.0005073/0.3317, allocations: 427.2 kB / 0.5216 GB, free: 1.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3317, allocations: 9.594 kB / 0.5216 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.836e-05/0.3318, allocations: 32.48 kB / 0.5216 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.3318, allocations: 14.98 kB / 0.5216 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.332, allocations: 205.6 kB / 0.5218 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.332, allocations: 6.594 kB / 0.5218 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.332, allocations: 7.281 kB / 0.5218 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.3323, allocations: 91.08 kB / 0.5219 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3323, allocations: 1.031 kB / 0.5219 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.3323, allocations: 0 / 0.5219 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3323, allocations: 1 kB / 0.5219 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003267/0.3327, allocations: 73.91 kB / 0.522 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/0.3332, allocations: 349 kB / 0.5223 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.3335, allocations: 74.09 kB / 0.5224 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.3337, allocations: 54.03 kB / 0.5225 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.3337, allocations: 0 / 0.5225 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.3337, allocations: 32.23 kB / 0.5225 GB, free: 368 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3337, allocations: 3.938 kB / 0.5225 GB, free: 364 kB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001628/0.3354, allocations: 401.9 kB / 0.5229 GB, free: 256 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.3354, allocations: 87.2 kB / 0.523 GB, free: 152 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.3355, allocations: 162.3 kB / 0.5231 GB, free: 20 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.3356, allocations: 30.44 kB / 0.5231 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.3356, allocations: 94.86 kB / 0.5232 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.3357, allocations: 30.08 kB / 0.5233 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.3357, allocations: 27.17 kB / 0.5233 GB, free: 15.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.3358, allocations: 320.9 kB / 0.5236 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.3361, allocations: 80.2 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.3365, allocations: 99.77 kB / 0.5238 GB, free: 15.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006064/0.3371, allocations: 166.5 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3371, allocations: 0 / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007037/0.3378, allocations: 209.5 kB / 0.5241 GB, free: 15.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3379, allocations: 13.61 kB / 0.5241 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3379, allocations: 3.984 kB / 0.5241 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3379, allocations: 0 / 0.5241 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.3381, allocations: 41.48 kB / 0.5242 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3381, allocations: 5.766 kB / 0.5242 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.3383, allocations: 22.61 kB / 0.5242 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3383, allocations: 3.188 kB / 0.5242 GB, free: 15.36 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 (10): * Single equations (assignments): 10 * 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.0001006/0.3384, allocations: 125.6 kB / 0.5243 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.3385, allocations: 13.81 kB / 0.5243 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007169/0.3392, allocations: 224.3 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3392, allocations: 0.5625 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.3392, allocations: 4.312 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3392, allocations: 3.359 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.3402, allocations: 0.5149 MB / 0.5251 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.3403, allocations: 4 kB / 0.5251 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.3404, allocations: 39 kB / 0.5251 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3405, allocations: 5.094 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3405, allocations: 1.906 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3405, allocations: 0 / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3405, allocations: 1.375 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007253/0.3412, allocations: 305.2 kB / 0.5254 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.3413, allocations: 90.39 kB / 0.5255 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.3413, allocations: 1.984 kB / 0.5255 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.3415, allocations: 26.52 kB / 0.5255 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.3416, allocations: 12.3 kB / 0.5255 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3416, allocations: 2.188 kB / 0.5255 GB, free: 14.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.526e-05/0.3417, allocations: 123.1 kB / 0.5257 GB, free: 14.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3417, allocations: 0 / 0.5257 GB, free: 14.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002926/0.342, allocations: 38.52 kB / 0.5257 GB, free: 14.37 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 (9): * Single equations (assignments): 9 * 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.001843/0.3438, allocations: 1.17 MB / 0.5268 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000702/0.3446, allocations: 173.9 kB / 0.527 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3446, allocations: 1.312 kB / 0.527 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.3449, allocations: 89.8 kB / 0.5271 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.3453, allocations: 31.2 kB / 0.5271 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.3483, allocations: 1.901 MB / 0.529 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.3485, allocations: 0.7052 MB / 0.5297 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.3487, allocations: 32.64 kB / 0.5297 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.107e-05/0.3488, allocations: 31.67 kB / 0.5297 GB, free: 11.18 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3488, allocations: 3.938 kB / 0.5297 GB, free: 11.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.3697, allocations: 3.967 MB / 0.5336 GB, free: 8.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/8.203, allocations: 14.69 kB / 0.5336 GB, free: 8.973 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,ramp.y,ramp1.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),der(t_new.y[1]),dummy,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,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