Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",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.001144/0.001144, allocations: 106.4 kB / 17.77 MB, free: 5.273 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.001106/0.001106, allocations: 187.9 kB / 18.71 MB, free: 4.348 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.363/1.363, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2194/0.2194, allocations: 44.18 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.001451, allocations: 63.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3971, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003262/0.4004, allocations: 1.555 MB / 0.52 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.4019, allocations: 1.036 MB / 0.521 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.4019, allocations: 0 / 0.521 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.4022, allocations: 25.22 kB / 0.521 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.4024, allocations: 41.27 kB / 0.521 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.4028, allocations: 110.5 kB / 0.5211 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.4029, allocations: 60.73 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.403, allocations: 15.55 kB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.315e-05/0.4031, allocations: 24.55 kB / 0.5212 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.4032, allocations: 25.02 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.4033, allocations: 2.531 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.4034, allocations: 46.61 kB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.4034, allocations: 12.77 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.4035, allocations: 25.16 kB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.4037, allocations: 89.62 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4037, allocations: 8 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4037, allocations: 0 / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.4037, allocations: 1.156 kB / 0.5214 GB, free: 1.246 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004526/0.4042, allocations: 374.2 kB / 0.5218 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.4042, allocations: 9.719 kB / 0.5218 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.55e-05/0.4043, allocations: 32.8 kB / 0.5218 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.4043, allocations: 8.062 kB / 0.5218 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.4045, allocations: 190.5 kB / 0.522 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.4045, allocations: 1.594 kB / 0.522 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.4045, allocations: 6.5 kB / 0.522 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.4047, allocations: 78.41 kB / 0.5221 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4047, allocations: 1.25 kB / 0.5221 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.4047, allocations: 0 / 0.5221 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.4047, allocations: 1.156 kB / 0.5221 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.423e-05/0.4048, allocations: 22.56 kB / 0.5221 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.4052, allocations: 280.6 kB / 0.5224 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.4054, allocations: 50.69 kB / 0.5224 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.988e-05/0.4054, allocations: 13.41 kB / 0.5225 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.4055, allocations: 1.281 kB / 0.5225 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.4055, allocations: 36.7 kB / 0.5225 GB, free: 164 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.4055, allocations: 4 kB / 0.5225 GB, free: 160 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005574/0.4061, allocations: 146.6 kB / 0.5226 GB, free: 92 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.4061, allocations: 78.23 kB / 0.5227 GB, free: 16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.4063, allocations: 131.6 kB / 0.5228 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.4063, allocations: 26.8 kB / 0.5229 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.4064, allocations: 91.72 kB / 0.523 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.4064, allocations: 16 kB / 0.523 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.4065, allocations: 22.92 kB / 0.523 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4066, allocations: 323.8 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.4067, allocations: 20.7 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/0.4068, allocations: 33.45 kB / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.4069, allocations: 59.05 kB / 0.5234 GB, free: 15.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4069, allocations: 1.156 kB / 0.5234 GB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001878/0.4071, allocations: 84.38 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.4072, allocations: 5.75 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.4072, allocations: 0 / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4072, allocations: 4.734 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.867e-05/0.4072, allocations: 12.23 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4073, allocations: 2.016 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.176e-05/0.4073, allocations: 4.484 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.4073, allocations: 9.062 kB / 0.5235 GB, free: 15.3 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 (5): * Single equations (assignments): 5 * 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.577e-05/0.4074, allocations: 115.8 kB / 0.5236 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.4075, allocations: 8.5 kB / 0.5236 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.4077, allocations: 100.3 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4077, allocations: 5.688 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.4077, allocations: 0 / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4077, allocations: 0.6562 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.4082, allocations: 362.6 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4082, allocations: 0 / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.338e-05/0.4082, allocations: 11.67 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4083, allocations: 2.453 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.4083, allocations: 4 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4083, allocations: 8.391 kB / 0.5241 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4083, allocations: 0 / 0.5241 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.4085, allocations: 181.8 kB / 0.5243 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.4086, allocations: 79.17 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.4086, allocations: 2.031 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.4087, allocations: 8.719 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.4087, allocations: 8.25 kB / 0.5244 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.4087, allocations: 6.031 kB / 0.5244 GB, free: 14.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.436e-05/0.4088, allocations: 102.2 kB / 0.5245 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4088, allocations: 5.531 kB / 0.5245 GB, free: 14.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.4091, allocations: 23.66 kB / 0.5245 GB, free: 14.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001387/0.4105, allocations: 1.049 MB / 0.5255 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.4107, allocations: 52.94 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4107, allocations: 0 / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.801e-05/0.4108, allocations: 25.94 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.4111, allocations: 19.02 kB / 0.5256 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.4127, allocations: 1.407 MB / 0.527 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.413, allocations: 0.696 MB / 0.5277 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.495e-05/0.4131, allocations: 17.62 kB / 0.5277 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.4132, allocations: 28.34 kB / 0.5277 GB, free: 11.63 MB / 398.1 MB Notification: Performance of SimCode: time 3.647e-06/0.4132, allocations: 0 / 0.5277 GB, free: 11.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.436, allocations: 2.794 MB / 0.5305 GB, free: 10.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.408/7.844, allocations: 12.2 kB / 0.5305 GB, free: 10.45 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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 Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time