Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.001534/0.001534, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.001423/0.001423, allocations: 183 kB / 18.72 MB, free: 4.332 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.419/1.419, 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.2105/0.2105, allocations: 44.2 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 71.88 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3143, allocations: 60.82 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003582/0.3179, allocations: 1.709 MB / 0.5202 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.3197, allocations: 0.8928 MB / 0.5211 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.311e-05/0.3198, allocations: 1.125 kB / 0.5211 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.3202, allocations: 32.02 kB / 0.5211 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.3204, allocations: 53.48 kB / 0.5211 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.3208, allocations: 114.9 kB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.3211, allocations: 101 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.3212, allocations: 7.766 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.3213, allocations: 47.36 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.366e-05/0.3214, allocations: 38.2 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.3214, allocations: 3.688 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.3216, allocations: 72.84 kB / 0.5215 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.409e-05/0.3217, allocations: 11.41 kB / 0.5215 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.787e-05/0.3217, allocations: 37.52 kB / 0.5216 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.3221, allocations: 128.6 kB / 0.5217 GB, free: 1.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3221, allocations: 1.25 kB / 0.5217 GB, free: 1.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3221, allocations: 0 / 0.5217 GB, free: 1.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3221, allocations: 0.75 kB / 0.5217 GB, free: 1.168 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.0005593/0.3227, allocations: 428.8 kB / 0.5221 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3227, allocations: 9.406 kB / 0.5221 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.3228, allocations: 36.81 kB / 0.5221 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.3228, allocations: 9.078 kB / 0.5221 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.3232, allocations: 203.3 kB / 0.5223 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3232, allocations: 5.719 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.3232, allocations: 7.406 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.3234, allocations: 70.08 kB / 0.5224 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.3235, allocations: 4.703 kB / 0.5224 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3235, allocations: 1.094 kB / 0.5224 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3235, allocations: 0 / 0.5224 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.3236, allocations: 19.77 kB / 0.5224 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.324, allocations: 274.8 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.3243, allocations: 75.75 kB / 0.5228 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.206e-05/0.3244, allocations: 25.17 kB / 0.5228 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.3244, allocations: 1.344 kB / 0.5228 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.3246, allocations: 71.91 kB / 0.5229 GB, free: 12 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/0.3246, allocations: 0 / 0.5229 GB, free: 12 kB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009544/0.3256, allocations: 207 kB / 0.5231 GB, free: 15.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.218e-05/0.3257, allocations: 83.02 kB / 0.5231 GB, free: 15.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.326, allocations: 159.3 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.326, allocations: 30.8 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.3262, allocations: 93.73 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.3263, allocations: 35.8 kB / 0.5234 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.3263, allocations: 29.3 kB / 0.5235 GB, free: 15.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.3266, allocations: 320.6 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.3267, allocations: 28.02 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.3269, allocations: 64.09 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.3272, allocations: 76.81 kB / 0.5239 GB, free: 15.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3272, allocations: 0 / 0.5239 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004025/0.3276, allocations: 121.2 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3277, allocations: 4.844 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3277, allocations: 1.812 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.3277, allocations: 9.188 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.3279, allocations: 22.8 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.3279, allocations: 1.984 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.095e-05/0.328, allocations: 7.234 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.3281, allocations: 3.812 kB / 0.5241 GB, free: 15.03 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 (13): * Single equations (assignments): 13 * 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.0001601/0.3282, allocations: 122.7 kB / 0.5242 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.3283, allocations: 13.39 kB / 0.5242 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.825e-05/0.3284, allocations: 18.14 kB / 0.5243 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3284, allocations: 4.875 kB / 0.5243 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3284, allocations: 5.406 kB / 0.5243 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.3284, allocations: 0.7031 kB / 0.5243 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008567/0.3293, allocations: 418.5 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3293, allocations: 1.656 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.342e-05/0.3294, allocations: 10.81 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3294, allocations: 1.562 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.3295, allocations: 10.41 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.3295, allocations: 6.672 kB / 0.5247 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3295, allocations: 4.031 kB / 0.5247 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.33, allocations: 217.2 kB / 0.5249 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.197e-05/0.3301, allocations: 88.41 kB / 0.525 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.3301, allocations: 2.859 kB / 0.525 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.3303, allocations: 4.625 kB / 0.525 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.3303, allocations: 9.078 kB / 0.525 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.3304, allocations: 9.484 kB / 0.525 GB, free: 14.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.3306, allocations: 119 kB / 0.5251 GB, free: 14.13 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3306, allocations: 0 / 0.5251 GB, free: 14.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005234/0.3311, allocations: 35.22 kB / 0.5252 GB, free: 14.12 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 (10): * Single equations (assignments): 8 * 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.003623/0.3348, allocations: 1.167 MB / 0.5263 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003705/0.3352, allocations: 77.5 kB / 0.5264 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3352, allocations: 0 / 0.5264 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.3353, allocations: 41.55 kB / 0.5264 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005645/0.3359, allocations: 24.36 kB / 0.5264 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.3391, allocations: 1.628 MB / 0.528 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.3396, allocations: 0.7061 MB / 0.5287 GB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.3397, allocations: 26.33 kB / 0.5287 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.3399, allocations: 37.19 kB / 0.5288 GB, free: 11.12 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3399, allocations: 0 / 0.5288 GB, free: 11.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.3742, allocations: 3.78 MB / 0.5325 GB, free: 9.379 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.482, allocations: 9.094 kB / 0.5325 GB, free: 9.371 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches