Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",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.00128/0.00128, allocations: 109.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.001349/0.001349, allocations: 188.1 kB / 18.71 MB, free: 4.363 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.371/1.371, 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.2103/0.2103, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 59.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3097, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002544/0.3123, allocations: 1.587 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006876/0.313, allocations: 413.4 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.006e-05/0.313, allocations: 1.312 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.3133, allocations: 72.61 kB / 0.5205 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.3136, allocations: 63.73 kB / 0.5205 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.3139, allocations: 111.9 kB / 0.5206 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.314, allocations: 73.77 kB / 0.5207 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3141, allocations: 19.55 kB / 0.5207 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.3142, allocations: 41.95 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.3143, allocations: 53.12 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.3143, allocations: 3.125 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.08e-05/0.3144, allocations: 48.27 kB / 0.5209 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.3145, allocations: 23.91 kB / 0.5209 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.3145, allocations: 25.95 kB / 0.5209 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.3147, allocations: 103.2 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3147, allocations: 0 / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3147, allocations: 0 / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.3147, allocations: 3.938 kB / 0.521 GB, free: 1.676 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.0003548/0.3151, allocations: 404.6 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.3151, allocations: 12.69 kB / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.196e-05/0.3152, allocations: 32.81 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.3152, allocations: 13.86 kB / 0.5214 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.3153, allocations: 193.5 kB / 0.5216 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-06/0.3153, allocations: 2.625 kB / 0.5216 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.3154, allocations: 6.469 kB / 0.5216 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.3155, allocations: 58.59 kB / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3155, allocations: 3.906 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-06/0.3155, allocations: 0 / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3155, allocations: 1.719 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.515e-05/0.3156, allocations: 33.19 kB / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.316, allocations: 297.7 kB / 0.522 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.534e-05/0.3161, allocations: 49.12 kB / 0.5221 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.787e-05/0.3161, allocations: 15.55 kB / 0.5221 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.3162, allocations: 0.7969 kB / 0.5221 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.347e-05/0.3162, allocations: 40.94 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.3162, allocations: 0 / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00085/0.317, allocations: 233.2 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.3171, allocations: 57.31 kB / 0.5224 GB, free: 424 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.3172, allocations: 214 kB / 0.5226 GB, free: 280 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.3173, allocations: 26.92 kB / 0.5226 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.3173, allocations: 112.6 kB / 0.5227 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.3173, allocations: 25.75 kB / 0.5228 GB, free: 120 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.3174, allocations: 20.48 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.3175, allocations: 327.1 kB / 0.5231 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.041e-05/0.3176, allocations: 25.81 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.815e-05/0.3177, allocations: 35.14 kB / 0.5231 GB, free: 15.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.3179, allocations: 71.2 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3179, allocations: 0 / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002341/0.3181, allocations: 116.9 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3181, allocations: 9.281 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3182, allocations: 3.938 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3182, allocations: 1 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3183, allocations: 21.28 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3183, allocations: 3.938 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.3183, allocations: 5.109 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.3184, allocations: 2.922 kB / 0.5234 GB, free: 15.66 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 (8): * Single equations (assignments): 8 * 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.948e-05/0.3185, allocations: 127.8 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.3185, allocations: 12.78 kB / 0.5235 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.3188, allocations: 130.8 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3188, allocations: 5.656 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3188, allocations: 3.938 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3188, allocations: 2.422 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.3193, allocations: 419.2 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3194, allocations: 5.344 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.039e-05/0.3194, allocations: 16.08 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3194, allocations: 2.203 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.3195, allocations: 9.469 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3195, allocations: 6.438 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3195, allocations: 0 / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.3197, allocations: 205 kB / 0.5243 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.3198, allocations: 88.05 kB / 0.5244 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.3198, allocations: 1.812 kB / 0.5244 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.3199, allocations: 10.11 kB / 0.5244 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.3199, allocations: 9.391 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-06/0.32, allocations: 6.281 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.3201, allocations: 152.9 kB / 0.5245 GB, free: 14.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3201, allocations: 0 / 0.5245 GB, free: 14.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.3203, allocations: 20.75 kB / 0.5245 GB, free: 14.71 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001389/0.3217, allocations: 1.101 MB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.322, allocations: 76.55 kB / 0.5257 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.322, allocations: 0 / 0.5257 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.543e-05/0.3221, allocations: 38.81 kB / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.3224, allocations: 14.69 kB / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.3242, allocations: 1.689 MB / 0.5274 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.3244, allocations: 0.7083 MB / 0.5281 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.541e-05/0.3245, allocations: 21.75 kB / 0.5281 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.3246, allocations: 35.84 kB / 0.5281 GB, free: 11.76 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3246, allocations: 0 / 0.5281 GB, free: 11.76 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.3433, allocations: 3.093 MB / 0.5312 GB, free: 10.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/7.994, allocations: 10.14 kB / 0.5312 GB, free: 10.38 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time