Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",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.00157/0.00157, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.001693/0.001694, allocations: 188 kB / 18.71 MB, free: 4.387 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.452/1.452, allocations: 222.9 MB / 242.4 MB, free: 15.21 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.2358/0.2358, allocations: 44.19 MB / 336.8 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 59.91 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.394, allocations: 60.83 MB / 0.5185 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003054/0.3972, allocations: 1.581 MB / 0.52 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007038/0.3979, allocations: 414.2 kB / 0.5204 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.3979, allocations: 0 / 0.5204 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.3982, allocations: 77 kB / 0.5205 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.3985, allocations: 66.89 kB / 0.5205 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.3988, allocations: 104.1 kB / 0.5206 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.399, allocations: 79.55 kB / 0.5207 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3991, allocations: 18.47 kB / 0.5207 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.918e-05/0.3992, allocations: 37.3 kB / 0.5208 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.3993, allocations: 50.36 kB / 0.5208 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.3993, allocations: 3.406 kB / 0.5208 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.893e-05/0.3994, allocations: 47.59 kB / 0.5209 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.3995, allocations: 18.69 kB / 0.5209 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.3995, allocations: 27.36 kB / 0.5209 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.3997, allocations: 102.2 kB / 0.521 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3997, allocations: 0 / 0.521 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3997, allocations: 0 / 0.521 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3997, allocations: 9.156 kB / 0.521 GB, free: 1.539 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.0004382/0.4002, allocations: 403.3 kB / 0.5214 GB, free: 1.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.4002, allocations: 9.969 kB / 0.5214 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.4002, allocations: 37.39 kB / 0.5214 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.4003, allocations: 9.125 kB / 0.5214 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.4004, allocations: 193.6 kB / 0.5216 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.4004, allocations: 2.625 kB / 0.5216 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.4005, allocations: 6.375 kB / 0.5216 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.4006, allocations: 64.36 kB / 0.5217 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.4006, allocations: 9.547 kB / 0.5217 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.4006, allocations: 1.094 kB / 0.5217 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4007, allocations: 1.062 kB / 0.5217 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.4008, allocations: 24.98 kB / 0.5217 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.4011, allocations: 293.5 kB / 0.522 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.4012, allocations: 53.58 kB / 0.5221 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.4013, allocations: 19.48 kB / 0.5221 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.4013, allocations: 0 / 0.5221 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.4014, allocations: 36.73 kB / 0.5221 GB, free: 444 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.4014, allocations: 0 / 0.5221 GB, free: 444 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009392/0.4023, allocations: 242.9 kB / 0.5223 GB, free: 344 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.4024, allocations: 60.3 kB / 0.5224 GB, free: 272 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.4025, allocations: 210.6 kB / 0.5226 GB, free: 132 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.4025, allocations: 27.08 kB / 0.5226 GB, free: 100 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.4026, allocations: 109 kB / 0.5227 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.4027, allocations: 24.56 kB / 0.5228 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.4027, allocations: 29.47 kB / 0.5228 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4028, allocations: 322.6 kB / 0.5231 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-05/0.4029, allocations: 28.8 kB / 0.5231 GB, free: 15.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-05/0.403, allocations: 32.2 kB / 0.5232 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.4032, allocations: 70.97 kB / 0.5232 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4032, allocations: 0 / 0.5232 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002325/0.4035, allocations: 113.4 kB / 0.5233 GB, free: 15.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4035, allocations: 5.625 kB / 0.5233 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.4035, allocations: 0 / 0.5233 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4035, allocations: 1.594 kB / 0.5233 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.4036, allocations: 20.33 kB / 0.5234 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.4036, allocations: 5.219 kB / 0.5234 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.417e-05/0.4037, allocations: 9.078 kB / 0.5234 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.4037, allocations: 2.531 kB / 0.5234 GB, free: 15.52 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 9.705e-05/0.4038, allocations: 127 kB / 0.5235 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.4038, allocations: 10.22 kB / 0.5235 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.4042, allocations: 131 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.351e-06/0.4042, allocations: 1.875 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4042, allocations: 8.391 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4042, allocations: 0.6562 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005443/0.4047, allocations: 423.6 kB / 0.524 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4048, allocations: 4.594 kB / 0.524 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.803e-05/0.4048, allocations: 16.84 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4048, allocations: 2.172 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.4049, allocations: 6 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4049, allocations: 0.6562 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4049, allocations: 0 / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.4051, allocations: 214.5 kB / 0.5243 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.4052, allocations: 88.33 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.4052, allocations: 5.984 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.4053, allocations: 4.812 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.4054, allocations: 9.938 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.4054, allocations: 2.219 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.4055, allocations: 160.3 kB / 0.5245 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4055, allocations: 5.156 kB / 0.5245 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.4058, allocations: 18.61 kB / 0.5246 GB, free: 14.56 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.001385/0.4071, allocations: 1.096 MB / 0.5256 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.4074, allocations: 68.17 kB / 0.5257 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4074, allocations: 4 kB / 0.5257 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.73e-05/0.4075, allocations: 42 kB / 0.5257 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.4078, allocations: 18.2 kB / 0.5258 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.4097, allocations: 1.68 MB / 0.5274 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.41, allocations: 0.7157 MB / 0.5281 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.574e-05/0.4101, allocations: 20.56 kB / 0.5281 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.4102, allocations: 33.69 kB / 0.5281 GB, free: 11.62 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4102, allocations: 0 / 0.5281 GB, free: 11.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.4322, allocations: 3.102 MB / 0.5312 GB, free: 10.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/8.054, allocations: 12.8 kB / 0.5312 GB, free: 10.27 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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