Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",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.001526/0.001526, allocations: 110.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.001725/0.001725, allocations: 183.9 kB / 18.7 MB, free: 4.367 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.394/1.394, 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.2092/0.2092, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 71.84 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3953, allocations: 60.81 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002704/0.398, allocations: 1.713 MB / 0.5202 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3993, allocations: 0.8682 MB / 0.521 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.617e-05/0.3994, allocations: 1.438 kB / 0.521 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.3996, allocations: 38.98 kB / 0.5211 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.3999, allocations: 59.12 kB / 0.5211 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.4002, allocations: 109.5 kB / 0.5212 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.4004, allocations: 95.41 kB / 0.5213 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.4005, allocations: 8.531 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.818e-05/0.4006, allocations: 45.72 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.571e-05/0.4007, allocations: 30.36 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.4007, allocations: 8.25 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.581e-05/0.4008, allocations: 40.72 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.653e-05/0.4009, allocations: 27.33 kB / 0.5215 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.4009, allocations: 33.42 kB / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.4012, allocations: 112.9 kB / 0.5216 GB, free: 1.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4012, allocations: 1.219 kB / 0.5216 GB, free: 1.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4012, allocations: 0 / 0.5216 GB, free: 1.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.4012, allocations: 0 / 0.5216 GB, free: 1.23 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.00046/0.4017, allocations: 410.1 kB / 0.522 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4017, allocations: 13.47 kB / 0.522 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.041e-05/0.4017, allocations: 32.88 kB / 0.522 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.4018, allocations: 10.09 kB / 0.522 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.402, allocations: 210.9 kB / 0.5222 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.402, allocations: 1.406 kB / 0.5222 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.4021, allocations: 7.016 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.4022, allocations: 61.17 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4022, allocations: 1.625 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.4022, allocations: 0 / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-06/0.4023, allocations: 1.062 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.759e-05/0.4023, allocations: 22.7 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.4027, allocations: 286.4 kB / 0.5226 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.4028, allocations: 63.58 kB / 0.5227 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.4029, allocations: 20.05 kB / 0.5227 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.4029, allocations: 5.781 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.4031, allocations: 66.64 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.4031, allocations: 0 / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000531/0.4036, allocations: 172 kB / 0.5229 GB, free: 16 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.4037, allocations: 57.19 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.4039, allocations: 190.7 kB / 0.5232 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.4039, allocations: 30.41 kB / 0.5232 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.486e-05/0.404, allocations: 103.4 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.404, allocations: 25.97 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.4041, allocations: 22.84 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4042, allocations: 321.8 kB / 0.5236 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.79e-05/0.4043, allocations: 22.06 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-05/0.4043, allocations: 37.83 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.4044, allocations: 66.3 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4045, allocations: 1.344 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000181/0.4046, allocations: 100 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.4047, allocations: 9.656 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4047, allocations: 1.828 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.4047, allocations: 0.9375 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.734e-05/0.4048, allocations: 14.75 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.4048, allocations: 1.922 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.4049, allocations: 10.95 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.4049, allocations: 6.781 kB / 0.5239 GB, free: 15.18 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 9.869e-05/0.405, allocations: 129.5 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.405, allocations: 10.11 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.405, allocations: 14.64 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4051, allocations: 1.859 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4051, allocations: 1.156 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4051, allocations: 8.625 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.4055, allocations: 396.7 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4055, allocations: 1.25 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.4056, allocations: 8.828 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.4056, allocations: 5.703 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.4056, allocations: 1.562 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.4056, allocations: 1.828 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4056, allocations: 5.469 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.4058, allocations: 207.7 kB / 0.5247 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.4059, allocations: 86.66 kB / 0.5247 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.4059, allocations: 9.438 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.406, allocations: 3.062 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.4061, allocations: 5.078 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.4061, allocations: 4.203 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.4062, allocations: 143.5 kB / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4062, allocations: 0 / 0.5249 GB, free: 14.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.4065, allocations: 30.66 kB / 0.5249 GB, free: 14.29 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.001508/0.408, allocations: 1.099 MB / 0.526 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.4082, allocations: 55.53 kB / 0.5261 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4082, allocations: 0 / 0.5261 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.492e-05/0.4083, allocations: 33.61 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.4086, allocations: 31.38 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.4104, allocations: 1.632 MB / 0.5277 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.4107, allocations: 0.7021 MB / 0.5284 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.569e-05/0.4108, allocations: 15.69 kB / 0.5284 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.595e-05/0.4109, allocations: 34.88 kB / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4109, allocations: 0 / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.4322, allocations: 3.414 MB / 0.5318 GB, free: 9.875 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.258, allocations: 11.95 kB / 0.5318 GB, free: 9.867 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time