Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",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.001627/0.001627, allocations: 109.4 kB / 17.78 MB, free: 5.285 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.001157/0.001157, allocations: 188.1 kB / 18.71 MB, free: 4.355 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.451/1.451, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2252/0.2252, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 75.88 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.4434, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003494/0.447, allocations: 1.584 MB / 0.52 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008806/0.4479, allocations: 418.4 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.448, allocations: 1.281 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.4483, allocations: 124.4 kB / 0.5205 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.4486, allocations: 85.55 kB / 0.5206 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.4489, allocations: 108.7 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.4491, allocations: 86.66 kB / 0.5208 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.4492, allocations: 15.69 kB / 0.5208 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.4493, allocations: 52.2 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.4494, allocations: 79 kB / 0.5209 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.4494, allocations: 3.438 kB / 0.5209 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.724e-05/0.4495, allocations: 44 kB / 0.521 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/0.4496, allocations: 31.52 kB / 0.521 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.4496, allocations: 39.69 kB / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.4499, allocations: 119 kB / 0.5212 GB, free: 1.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4499, allocations: 0 / 0.5212 GB, free: 1.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4499, allocations: 0 / 0.5212 GB, free: 1.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.4499, allocations: 4 kB / 0.5212 GB, free: 1.641 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.0004842/0.4504, allocations: 423.1 kB / 0.5216 GB, free: 1.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.4504, allocations: 11.16 kB / 0.5216 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.947e-05/0.4505, allocations: 32.61 kB / 0.5216 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.4505, allocations: 10.25 kB / 0.5216 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.4507, allocations: 208.9 kB / 0.5218 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.4507, allocations: 1.562 kB / 0.5218 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.4507, allocations: 11.5 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.4509, allocations: 52.81 kB / 0.5219 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.4509, allocations: 0.8438 kB / 0.5219 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.451, allocations: 9.344 kB / 0.5219 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.451, allocations: 0 / 0.5219 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.4511, allocations: 26.47 kB / 0.5219 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.4516, allocations: 314.3 kB / 0.5222 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.4517, allocations: 49.3 kB / 0.5223 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.626e-05/0.4518, allocations: 20 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.4518, allocations: 0.7031 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.4518, allocations: 31.78 kB / 0.5223 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4519, allocations: 0 / 0.5223 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001002/0.4529, allocations: 257.1 kB / 0.5225 GB, free: 416 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.4529, allocations: 57.09 kB / 0.5226 GB, free: 348 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.4532, allocations: 268.8 kB / 0.5229 GB, free: 200 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.4532, allocations: 30.86 kB / 0.5229 GB, free: 164 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.4533, allocations: 115.4 kB / 0.523 GB, free: 56 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.4533, allocations: 21.61 kB / 0.523 GB, free: 40 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.4534, allocations: 24.75 kB / 0.523 GB, free: 16 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4535, allocations: 328.7 kB / 0.5234 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.584e-05/0.4536, allocations: 30.11 kB / 0.5234 GB, free: 15.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.943e-05/0.4537, allocations: 26.77 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.4539, allocations: 71.53 kB / 0.5235 GB, free: 15.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.4539, allocations: 0 / 0.5235 GB, free: 15.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002703/0.4542, allocations: 126.9 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4542, allocations: 6.188 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.4542, allocations: 0.7031 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.4543, allocations: 3.984 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.4544, allocations: 17.72 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4544, allocations: 3.938 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.4544, allocations: 4.609 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.4545, allocations: 2.281 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.0001203/0.4546, allocations: 138.7 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.4546, allocations: 14.69 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.455, allocations: 135.2 kB / 0.5239 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.455, allocations: 0 / 0.5239 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.455, allocations: 5.969 kB / 0.5239 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.455, allocations: 4.688 kB / 0.5239 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006699/0.4557, allocations: 426.5 kB / 0.5243 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.4557, allocations: 4.734 kB / 0.5243 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.228e-05/0.4558, allocations: 17.38 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4558, allocations: 0 / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.4558, allocations: 2.078 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4558, allocations: 1.188 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4558, allocations: 1.688 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.4561, allocations: 226.7 kB / 0.5246 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.4562, allocations: 93.08 kB / 0.5247 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.4562, allocations: 1.938 kB / 0.5247 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.4563, allocations: 8.859 kB / 0.5247 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.4564, allocations: 5.891 kB / 0.5247 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.4564, allocations: 7.172 kB / 0.5247 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000204/0.4566, allocations: 204.3 kB / 0.5249 GB, free: 14.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4566, allocations: 5.969 kB / 0.5249 GB, free: 14.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.4569, allocations: 22.84 kB / 0.5249 GB, free: 14.59 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.001681/0.4585, allocations: 1.1 MB / 0.526 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002764/0.4588, allocations: 79.25 kB / 0.5261 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4588, allocations: 0 / 0.5261 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.459, allocations: 41.92 kB / 0.5261 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.4594, allocations: 22.31 kB / 0.5261 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.4616, allocations: 1.818 MB / 0.5279 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.4621, allocations: 0.7179 MB / 0.5286 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.473e-05/0.4622, allocations: 20.7 kB / 0.5286 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.4623, allocations: 41.8 kB / 0.5287 GB, free: 11.6 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4623, allocations: 0 / 0.5287 GB, free: 11.6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.4848, allocations: 3.381 MB / 0.532 GB, free: 9.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.236, allocations: 18.28 kB / 0.532 GB, free: 9.984 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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