Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test14",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.001604/0.001604, 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.001791/0.001791, 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.471/1.471, 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.2115/0.2115, allocations: 44.18 MB / 336.8 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 64.08 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3146, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002754/0.3174, allocations: 1.619 MB / 0.52 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3186, allocations: 1.061 MB / 0.5211 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.3187, allocations: 1.594 kB / 0.5211 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.3189, allocations: 16.11 kB / 0.5211 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.3191, allocations: 50.44 kB / 0.5211 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.3195, allocations: 178.8 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.3197, allocations: 69.11 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3198, allocations: 23.28 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.002e-05/0.3198, allocations: 21.48 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.32, allocations: 35.36 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.32, allocations: 4.656 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.3201, allocations: 47.88 kB / 0.5215 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.3202, allocations: 16.53 kB / 0.5215 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.3202, allocations: 31.66 kB / 0.5215 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.3204, allocations: 108.9 kB / 0.5216 GB, free: 1.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3205, allocations: 1.734 kB / 0.5216 GB, free: 1.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3205, allocations: 0 / 0.5216 GB, free: 1.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.3205, allocations: 0 / 0.5216 GB, free: 1.148 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.0004451/0.3209, allocations: 398.1 kB / 0.522 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.321, allocations: 9.672 kB / 0.522 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.628e-05/0.321, allocations: 32.61 kB / 0.5221 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.321, allocations: 9.219 kB / 0.5221 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.3212, allocations: 197.9 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.3212, allocations: 9.844 kB / 0.5223 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.3212, allocations: 6.875 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.3214, allocations: 79.72 kB / 0.5223 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3214, allocations: 0.6562 kB / 0.5223 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.3214, allocations: 1.188 kB / 0.5223 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3214, allocations: 1.062 kB / 0.5223 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.3216, allocations: 38.92 kB / 0.5224 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.3219, allocations: 306.5 kB / 0.5227 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.3221, allocations: 47 kB / 0.5227 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.041e-05/0.3221, allocations: 26.7 kB / 0.5227 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.3222, allocations: 0 / 0.5227 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.3222, allocations: 36.39 kB / 0.5228 GB, free: 36 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3222, allocations: 1.156 kB / 0.5228 GB, free: 36 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008045/0.323, allocations: 224.9 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.3231, allocations: 82.92 kB / 0.5231 GB, free: 15.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.3232, allocations: 150.1 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.3233, allocations: 26.27 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.3233, allocations: 93.84 kB / 0.5233 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.3234, allocations: 24.08 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.3234, allocations: 20.59 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3235, allocations: 320.1 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.3236, allocations: 39 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.3238, allocations: 54.58 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.324, allocations: 91.33 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.324, allocations: 5.438 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002941/0.3243, allocations: 125 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3244, allocations: 6.109 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3244, allocations: 0 / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3244, allocations: 1.344 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.3245, allocations: 26.22 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3245, allocations: 5.984 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.3246, allocations: 9.094 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.3246, allocations: 6.375 kB / 0.524 GB, free: 15.11 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 8.492e-05/0.3247, allocations: 117.1 kB / 0.5241 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.3247, allocations: 8.688 kB / 0.5242 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.3251, allocations: 136.8 kB / 0.5243 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3251, allocations: 1.125 kB / 0.5243 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3251, allocations: 5.406 kB / 0.5243 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3251, allocations: 4.797 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005597/0.3257, allocations: 407.1 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3257, allocations: 0 / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.514e-05/0.3258, allocations: 24.48 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3258, allocations: 3.938 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.3258, allocations: 1.469 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3258, allocations: 1.078 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3258, allocations: 4.078 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.3262, allocations: 222.3 kB / 0.5249 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.3262, allocations: 90.2 kB / 0.525 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.3263, allocations: 6.312 kB / 0.525 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.807e-05/0.3264, allocations: 16.89 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.3264, allocations: 5.906 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3264, allocations: 1.312 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.802e-05/0.3265, allocations: 110.8 kB / 0.5252 GB, free: 14.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3265, allocations: 0 / 0.5252 GB, free: 14.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.3268, allocations: 31.72 kB / 0.5252 GB, free: 14.2 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.001454/0.3283, allocations: 1.094 MB / 0.5263 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003153/0.3286, allocations: 94.66 kB / 0.5263 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3286, allocations: 0 / 0.5263 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.3287, allocations: 50.14 kB / 0.5264 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.3291, allocations: 14.92 kB / 0.5264 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.3312, allocations: 1.594 MB / 0.528 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.3314, allocations: 0.7013 MB / 0.5286 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.3315, allocations: 31.33 kB / 0.5287 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.059e-05/0.3316, allocations: 27.53 kB / 0.5287 GB, free: 11.32 MB / 398.1 MB Notification: Performance of SimCode: time 1.924e-06/0.3316, allocations: 96 / 0.5287 GB, free: 11.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.3531, allocations: 3.159 MB / 0.5318 GB, free: 9.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.05, allocations: 10.83 kB / 0.5318 GB, free: 9.75 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],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(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),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