Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001567/0.001567, 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.001774/0.001775, 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.507/1.507, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2343/0.2343, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4082, allocations: 60.81 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.00264/0.4109, allocations: 1.592 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006822/0.4116, allocations: 411.2 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.964e-05/0.4117, allocations: 1.219 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.4121, allocations: 124.7 kB / 0.5205 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.4124, allocations: 86.05 kB / 0.5206 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.4127, allocations: 115.4 kB / 0.5207 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.413, allocations: 91.42 kB / 0.5208 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.4131, allocations: 15.7 kB / 0.5208 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.136e-05/0.4132, allocations: 51.56 kB / 0.5208 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.4134, allocations: 79.83 kB / 0.5209 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.4134, allocations: 7.094 kB / 0.5209 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.4135, allocations: 43.86 kB / 0.521 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.4136, allocations: 27.8 kB / 0.521 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.073e-05/0.4137, allocations: 34.8 kB / 0.521 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.4139, allocations: 123.3 kB / 0.5211 GB, free: 1.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4139, allocations: 0 / 0.5211 GB, free: 1.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4139, allocations: 0 / 0.5211 GB, free: 1.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.414, allocations: 0 / 0.5211 GB, free: 1.652 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.0005217/0.4145, allocations: 423.4 kB / 0.5216 GB, free: 1.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4145, allocations: 14.53 kB / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.4146, allocations: 37.36 kB / 0.5216 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.4146, allocations: 10.25 kB / 0.5216 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.4148, allocations: 204.8 kB / 0.5218 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4148, allocations: 1.562 kB / 0.5218 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.4149, allocations: 6.969 kB / 0.5218 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.415, allocations: 57.7 kB / 0.5219 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.4151, allocations: 0 / 0.5219 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.4151, allocations: 1.094 kB / 0.5219 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4151, allocations: 1.719 kB / 0.5219 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.4152, allocations: 29.09 kB / 0.5219 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.4157, allocations: 310.2 kB / 0.5222 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.4158, allocations: 53.83 kB / 0.5222 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.4159, allocations: 19.66 kB / 0.5223 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.4159, allocations: 5.094 kB / 0.5223 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.416, allocations: 32.7 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.416, allocations: 0 / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001029/0.417, allocations: 248.2 kB / 0.5225 GB, free: 432 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.417, allocations: 60.97 kB / 0.5226 GB, free: 360 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.4174, allocations: 268.3 kB / 0.5229 GB, free: 212 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.4174, allocations: 27.08 kB / 0.5229 GB, free: 180 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.4175, allocations: 116.2 kB / 0.523 GB, free: 72 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.4175, allocations: 23.95 kB / 0.523 GB, free: 52 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.4175, allocations: 21.69 kB / 0.523 GB, free: 32 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4177, allocations: 329 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.4178, allocations: 32.94 kB / 0.5234 GB, free: 15.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.09e-05/0.4179, allocations: 30.58 kB / 0.5234 GB, free: 15.69 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.4181, allocations: 72.33 kB / 0.5235 GB, free: 15.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4181, allocations: 0 / 0.5235 GB, free: 15.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000237/0.4183, allocations: 114.4 kB / 0.5236 GB, free: 15.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4183, allocations: 9.047 kB / 0.5236 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4184, allocations: 3.938 kB / 0.5236 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4184, allocations: 5.156 kB / 0.5236 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.4185, allocations: 29 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.4185, allocations: 3.938 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.4186, allocations: 5.078 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.4186, allocations: 3.328 kB / 0.5236 GB, free: 15.58 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 0.0001137/0.4187, allocations: 133.5 kB / 0.5238 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.4187, allocations: 15.19 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.419, allocations: 134 kB / 0.5239 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.419, allocations: 2 kB / 0.5239 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4191, allocations: 3.938 kB / 0.5239 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4191, allocations: 4.688 kB / 0.5239 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006098/0.4197, allocations: 423.1 kB / 0.5243 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.4197, allocations: 5.656 kB / 0.5243 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.09e-05/0.4198, allocations: 21.36 kB / 0.5244 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.4198, allocations: 0 / 0.5244 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4198, allocations: 5.469 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.4198, allocations: 2.219 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4198, allocations: 3.984 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.4201, allocations: 215.1 kB / 0.5246 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/0.4202, allocations: 97.25 kB / 0.5247 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.4202, allocations: 2.578 kB / 0.5247 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.4203, allocations: 4.859 kB / 0.5247 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.4203, allocations: 10.36 kB / 0.5247 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.4203, allocations: 3.062 kB / 0.5247 GB, free: 14.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.4205, allocations: 199 kB / 0.5249 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4206, allocations: 0 / 0.5249 GB, free: 14.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.4208, allocations: 25.75 kB / 0.5249 GB, free: 14.61 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.001613/0.4224, allocations: 1.107 MB / 0.526 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.4227, allocations: 76.06 kB / 0.526 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4227, allocations: 0 / 0.526 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.4228, allocations: 41.66 kB / 0.5261 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.4232, allocations: 18.25 kB / 0.5261 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.4256, allocations: 1.815 MB / 0.5279 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.4259, allocations: 0.7206 MB / 0.5286 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.627e-05/0.426, allocations: 29.22 kB / 0.5286 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.4261, allocations: 37.67 kB / 0.5286 GB, free: 11.61 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4261, allocations: 0 / 0.5286 GB, free: 11.61 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.4461, allocations: 3.388 MB / 0.532 GB, free: 10.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/7.99, allocations: 12.56 kB / 0.532 GB, free: 10.01 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,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.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time