Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",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.001081/0.001087, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001168/0.001168, allocations: 187.9 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.375/1.375, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2238/0.2238, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4392, allocations: 60.84 MB / 0.5185 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003525/0.4428, allocations: 1.573 MB / 0.52 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008945/0.4437, allocations: 422.9 kB / 0.5204 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.73e-05/0.4438, allocations: 1.281 kB / 0.5204 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004292/0.4443, allocations: 105 kB / 0.5205 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.4446, allocations: 81.17 kB / 0.5206 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.445, allocations: 111.8 kB / 0.5207 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.4452, allocations: 81.23 kB / 0.5208 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.4454, allocations: 18.67 kB / 0.5208 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.339e-05/0.4455, allocations: 42.67 kB / 0.5208 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.4456, allocations: 65.78 kB / 0.5209 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.4457, allocations: 2.562 kB / 0.5209 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.4458, allocations: 42.5 kB / 0.5209 GB, free: 2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.365e-05/0.4459, allocations: 27.19 kB / 0.5209 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.543e-05/0.4459, allocations: 31.12 kB / 0.521 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.4462, allocations: 118.9 kB / 0.5211 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4462, allocations: 0 / 0.5211 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.4462, allocations: 1.156 kB / 0.5211 GB, free: 1.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.4462, allocations: 0 / 0.5211 GB, free: 1.91 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.0005427/0.4468, allocations: 417.2 kB / 0.5215 GB, free: 1.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4468, allocations: 8.406 kB / 0.5215 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.4469, allocations: 33.03 kB / 0.5215 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.4469, allocations: 15.33 kB / 0.5215 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.4471, allocations: 203.1 kB / 0.5217 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.4472, allocations: 10.41 kB / 0.5217 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.4472, allocations: 10.31 kB / 0.5218 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.4474, allocations: 49.08 kB / 0.5218 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.4474, allocations: 0 / 0.5218 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.4474, allocations: 5.766 kB / 0.5218 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4474, allocations: 1 kB / 0.5218 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.4475, allocations: 29.19 kB / 0.5218 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.448, allocations: 313 kB / 0.5221 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.4482, allocations: 53.03 kB / 0.5222 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.4482, allocations: 23.22 kB / 0.5222 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.4482, allocations: 1.75 kB / 0.5222 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.4483, allocations: 32.33 kB / 0.5222 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4483, allocations: 0 / 0.5222 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001012/0.4493, allocations: 239.1 kB / 0.5225 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.4493, allocations: 57.03 kB / 0.5225 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.4497, allocations: 238.5 kB / 0.5227 GB, free: 488 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.4497, allocations: 30.27 kB / 0.5228 GB, free: 452 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.688e-05/0.4498, allocations: 115.3 kB / 0.5229 GB, free: 344 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.4498, allocations: 24.67 kB / 0.5229 GB, free: 324 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.4499, allocations: 20.69 kB / 0.5229 GB, free: 304 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.45, allocations: 323.6 kB / 0.5232 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.4501, allocations: 30.19 kB / 0.5233 GB, free: 15.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.194e-05/0.4502, allocations: 31.27 kB / 0.5233 GB, free: 15.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.4504, allocations: 79.3 kB / 0.5234 GB, free: 15.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4504, allocations: 1.062 kB / 0.5234 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002486/0.4506, allocations: 110 kB / 0.5235 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4507, allocations: 5.781 kB / 0.5235 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4507, allocations: 0 / 0.5235 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.4507, allocations: 1.469 kB / 0.5235 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.4508, allocations: 20.42 kB / 0.5235 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.4508, allocations: 6.125 kB / 0.5235 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.4509, allocations: 15.88 kB / 0.5235 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.4509, allocations: 3.234 kB / 0.5235 GB, free: 15.86 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.0001143/0.451, allocations: 131.3 kB / 0.5237 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.4511, allocations: 18.48 kB / 0.5237 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.4514, allocations: 128.5 kB / 0.5238 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4514, allocations: 2 kB / 0.5238 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.4514, allocations: 4.938 kB / 0.5238 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.4515, allocations: 4.75 kB / 0.5238 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006066/0.4521, allocations: 424.1 kB / 0.5242 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.4521, allocations: 5.094 kB / 0.5242 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.071e-05/0.4522, allocations: 17.64 kB / 0.5242 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4522, allocations: 0 / 0.5242 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.4522, allocations: 1.5 kB / 0.5242 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4522, allocations: 2.094 kB / 0.5242 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4522, allocations: 4.031 kB / 0.5242 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.4525, allocations: 222 kB / 0.5245 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.4525, allocations: 94.06 kB / 0.5245 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.4526, allocations: 2.453 kB / 0.5245 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.4526, allocations: 4.438 kB / 0.5245 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.4527, allocations: 13.2 kB / 0.5246 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-06/0.4527, allocations: 3.547 kB / 0.5246 GB, free: 14.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.4529, allocations: 183.1 kB / 0.5247 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4529, allocations: 0 / 0.5247 GB, free: 14.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.4532, allocations: 21.08 kB / 0.5248 GB, free: 14.88 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.001702/0.4549, allocations: 1.103 MB / 0.5258 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.4552, allocations: 77.31 kB / 0.5259 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4552, allocations: 0 / 0.5259 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.4553, allocations: 41.05 kB / 0.5259 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.4558, allocations: 17.95 kB / 0.526 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.4581, allocations: 1.767 MB / 0.5277 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.4585, allocations: 0.7095 MB / 0.5284 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.464e-05/0.4586, allocations: 22.06 kB / 0.5284 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.4586, allocations: 39.86 kB / 0.5284 GB, free: 11.92 MB / 398.1 MB Notification: Performance of SimCode: time 2.284e-06/0.4587, allocations: 1.719 kB / 0.5284 GB, free: 11.92 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.479, allocations: 3.275 MB / 0.5316 GB, free: 10.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.583/8.062, allocations: 12.86 kB / 0.5317 GB, free: 10.38 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.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