Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",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.001183/0.001183, allocations: 113.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.001245/0.001245, allocations: 180.1 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.451/1.451, 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.2296/0.2296, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 71.88 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.397, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003231/0.4003, allocations: 1.706 MB / 0.5202 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.4016, allocations: 0.8711 MB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.571e-05/0.4016, allocations: 1.156 kB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.402, allocations: 38.28 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.4022, allocations: 60.33 kB / 0.5211 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.4025, allocations: 109 kB / 0.5212 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.4027, allocations: 96.03 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.4028, allocations: 11.67 kB / 0.5213 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.4029, allocations: 38.27 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.295e-05/0.403, allocations: 33.7 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.4031, allocations: 3.5 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.4032, allocations: 46.77 kB / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.4033, allocations: 22.64 kB / 0.5215 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.4033, allocations: 38.2 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.4035, allocations: 111.1 kB / 0.5216 GB, free: 1.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4036, allocations: 0 / 0.5216 GB, free: 1.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4036, allocations: 0.9375 kB / 0.5216 GB, free: 1.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.4036, allocations: 1.219 kB / 0.5216 GB, free: 1.227 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006541/0.4042, allocations: 411.2 kB / 0.522 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.508e-05/0.4043, allocations: 9.406 kB / 0.522 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.022e-05/0.4043, allocations: 37.2 kB / 0.5221 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.4044, allocations: 17.88 kB / 0.5221 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.4047, allocations: 203.8 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.4047, allocations: 6.531 kB / 0.5223 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.4047, allocations: 7.109 kB / 0.5223 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.4049, allocations: 54.19 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4049, allocations: 0 / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.4049, allocations: 0 / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.4049, allocations: 1.406 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.3e-05/0.405, allocations: 22.25 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.4053, allocations: 299.3 kB / 0.5226 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.4055, allocations: 57.05 kB / 0.5227 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.554e-05/0.4056, allocations: 23.8 kB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.4056, allocations: 5.219 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.4057, allocations: 69.06 kB / 0.5228 GB, free: 88 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.4058, allocations: 1.094 kB / 0.5228 GB, free: 88 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005541/0.4063, allocations: 172.9 kB / 0.5229 GB, free: 0 / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.4064, allocations: 56.66 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.4066, allocations: 200.9 kB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4066, allocations: 31.11 kB / 0.5232 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.4067, allocations: 104.1 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.4067, allocations: 26.2 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.4068, allocations: 26.2 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4069, allocations: 322.3 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.348e-05/0.407, allocations: 25.45 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/0.4071, allocations: 40.02 kB / 0.5237 GB, free: 15.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.4072, allocations: 65.58 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4072, allocations: 0 / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001927/0.4074, allocations: 101.3 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4074, allocations: 5.844 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4074, allocations: 0.6094 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.4075, allocations: 1.469 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.4076, allocations: 15.12 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.4076, allocations: 1.125 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.4076, allocations: 6.547 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.4076, allocations: 12.06 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001104/0.4078, allocations: 134 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.4078, allocations: 13.27 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.323e-05/0.4078, allocations: 17.05 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.4079, allocations: 1.094 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4079, allocations: 0 / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4079, allocations: 4.547 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.4084, allocations: 396.6 kB / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4084, allocations: 0 / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-05/0.4084, allocations: 9.141 kB / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.4084, allocations: 5.406 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.4085, allocations: 6.266 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.4085, allocations: 1.469 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4085, allocations: 0.5156 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.4087, allocations: 209.6 kB / 0.5247 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.4088, allocations: 85.53 kB / 0.5248 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.4088, allocations: 9.984 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.4089, allocations: 6.953 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.4089, allocations: 5.875 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.409, allocations: 3.422 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.4091, allocations: 151.3 kB / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4091, allocations: 0 / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000265/0.4094, allocations: 27.22 kB / 0.525 GB, free: 14.26 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00156/0.411, allocations: 1.098 MB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.4112, allocations: 64.59 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4112, allocations: 0 / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.099e-05/0.4113, allocations: 24.52 kB / 0.5261 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.4116, allocations: 36.42 kB / 0.5262 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.4135, allocations: 1.653 MB / 0.5278 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.4138, allocations: 0.707 MB / 0.5285 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.479e-05/0.4139, allocations: 17.78 kB / 0.5285 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/0.414, allocations: 38.39 kB / 0.5285 GB, free: 11.3 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.414, allocations: 1.375 kB / 0.5285 GB, free: 11.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.4336, allocations: 3.479 MB / 0.5319 GB, free: 9.785 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.561/7.995, allocations: 7.688 kB / 0.5319 GB, free: 9.781 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time