Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",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.001533/0.001533, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.00149/0.00149, allocations: 181 kB / 18.71 MB, free: 4.207 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.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2024/0.2024, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.91 kB / 470.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2929, allocations: 60.81 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003046/0.296, allocations: 2.236 MB / 0.5207 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.2976, allocations: 1.185 MB / 0.5219 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.2978, allocations: 8.094 kB / 0.5219 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003855/0.2982, allocations: 122.7 kB / 0.522 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.2985, allocations: 178.8 kB / 0.5222 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006212/0.2992, allocations: 327.3 kB / 0.5225 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004165/0.2996, allocations: 423 kB / 0.5229 GB, free: 448 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.2998, allocations: 60.61 kB / 0.5229 GB, free: 416 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003139/0.3001, allocations: 287.5 kB / 0.5232 GB, free: 332 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.3002, allocations: 150.5 kB / 0.5233 GB, free: 256 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.3003, allocations: 15.56 kB / 0.5234 GB, free: 256 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.3004, allocations: 73.81 kB / 0.5234 GB, free: 236 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.3005, allocations: 125.2 kB / 0.5236 GB, free: 184 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.3007, allocations: 182 kB / 0.5237 GB, free: 48 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004827/0.3012, allocations: 424.1 kB / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3012, allocations: 0 / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3012, allocations: 0 / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.3012, allocations: 4.562 kB / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001044/0.3022, allocations: 0.8178 MB / 0.5249 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.3023, allocations: 9.844 kB / 0.5249 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5e-05/0.3023, allocations: 47.45 kB / 0.525 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.022e-05/0.3024, allocations: 58.3 kB / 0.525 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.303, allocations: 407.7 kB / 0.5254 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.303, allocations: 14.77 kB / 0.5254 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.3031, allocations: 23.16 kB / 0.5255 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.3034, allocations: 195.8 kB / 0.5257 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3035, allocations: 1.891 kB / 0.5257 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.3035, allocations: 6.828 kB / 0.5257 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.3035, allocations: 4.125 kB / 0.5257 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.3037, allocations: 99.47 kB / 0.5258 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000896/0.3047, allocations: 0.7842 MB / 0.5265 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006318/0.3053, allocations: 252.6 kB / 0.5268 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.3055, allocations: 92.31 kB / 0.5269 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.3055, allocations: 5.203 kB / 0.5269 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003704/0.3059, allocations: 211.7 kB / 0.5271 GB, free: 13.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.644e-06/0.3059, allocations: 0 / 0.5271 GB, free: 13.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002389/0.3083, allocations: 1.107 MB / 0.5281 GB, free: 13.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.3084, allocations: 142.1 kB / 0.5283 GB, free: 12.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007833/0.3092, allocations: 0.7497 MB / 0.529 GB, free: 12.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.3092, allocations: 38.11 kB / 0.5291 GB, free: 12.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.3094, allocations: 239.9 kB / 0.5293 GB, free: 12.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.3095, allocations: 143.4 kB / 0.5294 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.3096, allocations: 82.52 kB / 0.5295 GB, free: 12.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3098, allocations: 371.9 kB / 0.5298 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.3101, allocations: 116.1 kB / 0.53 GB, free: 11.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.3104, allocations: 182.9 kB / 0.5301 GB, free: 11.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/0.3109, allocations: 317.5 kB / 0.5304 GB, free: 11.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3109, allocations: 5.156 kB / 0.5304 GB, free: 11.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000757/0.3117, allocations: 447.5 kB / 0.5309 GB, free: 11.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3117, allocations: 10.88 kB / 0.5309 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3117, allocations: 1.406 kB / 0.5309 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3118, allocations: 3.719 kB / 0.5309 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.312, allocations: 84.69 kB / 0.531 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.3121, allocations: 15.95 kB / 0.531 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.3122, allocations: 16.25 kB / 0.531 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.3123, allocations: 21.27 kB / 0.531 GB, free: 11.03 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002459/0.3125, allocations: 220.9 kB / 0.5312 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.857e-05/0.3126, allocations: 72.09 kB / 0.5313 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.3128, allocations: 75.44 kB / 0.5314 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3128, allocations: 5.812 kB / 0.5314 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.3128, allocations: 5.656 kB / 0.5314 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.3128, allocations: 5.328 kB / 0.5314 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.3145, allocations: 1.294 MB / 0.5326 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3145, allocations: 2.469 kB / 0.5326 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.3146, allocations: 63.72 kB / 0.5327 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.3147, allocations: 8.469 kB / 0.5327 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.3147, allocations: 21.11 kB / 0.5327 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3147, allocations: 3.656 kB / 0.5327 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/0.3147, allocations: 11.5 kB / 0.5328 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008412/0.3156, allocations: 0.7796 MB / 0.5335 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.3158, allocations: 171.4 kB / 0.5337 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.851e-05/0.3158, allocations: 19.3 kB / 0.5337 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.3161, allocations: 17.59 kB / 0.5337 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.3162, allocations: 37.61 kB / 0.5337 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/0.3163, allocations: 25.77 kB / 0.5338 GB, free: 8.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000666/0.3169, allocations: 0.543 MB / 0.5343 GB, free: 8.641 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3169, allocations: 0 / 0.5343 GB, free: 8.641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005311/0.3175, allocations: 85.3 kB / 0.5344 GB, free: 8.621 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002439/0.3199, allocations: 1.768 MB / 0.5361 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006932/0.3206, allocations: 318.6 kB / 0.5364 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3207, allocations: 0 / 0.5364 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.321, allocations: 158.1 kB / 0.5366 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009671/0.322, allocations: 135.8 kB / 0.5367 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00569/0.3277, allocations: 4.646 MB / 0.5412 GB, free: 3.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.3281, allocations: 0.8857 MB / 0.5421 GB, free: 3.094 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002139/0.3283, allocations: 83.09 kB / 0.5422 GB, free: 3.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.3286, allocations: 180.7 kB / 0.5423 GB, free: 2.918 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3286, allocations: 0 / 0.5423 GB, free: 2.918 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.3572, allocations: 10.54 MB / 0.5526 GB, free: 8.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.359, allocations: 8.062 kB / 0.5527 GB, free: 8.711 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.csv --start-time 0 --stop-time 9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0036 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches