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.001796/0.001796, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001994/0.001994, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.438/1.438, 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.2145/0.2145, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 71.89 kB / 470.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3223, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002965/0.3254, allocations: 2.231 MB / 0.5207 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.327, allocations: 1.186 MB / 0.5219 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.3272, allocations: 7.062 kB / 0.5219 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.3276, allocations: 126.7 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.3279, allocations: 182.3 kB / 0.5222 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006485/0.3286, allocations: 318.8 kB / 0.5225 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004436/0.329, allocations: 418.1 kB / 0.5229 GB, free: 452 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.3292, allocations: 62.34 kB / 0.5229 GB, free: 420 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002934/0.3295, allocations: 261.4 kB / 0.5232 GB, free: 336 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.3297, allocations: 147.2 kB / 0.5233 GB, free: 264 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.743e-05/0.3297, allocations: 15.31 kB / 0.5233 GB, free: 264 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.3299, allocations: 70.81 kB / 0.5234 GB, free: 248 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.33, allocations: 125.4 kB / 0.5235 GB, free: 196 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.3302, allocations: 177 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005487/0.3307, allocations: 432.4 kB / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3307, allocations: 5.75 kB / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3307, allocations: 0 / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.3308, allocations: 3.938 kB / 0.5241 GB, free: 15.86 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.001159/0.3319, allocations: 0.8174 MB / 0.5249 GB, free: 15.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.332, allocations: 9.156 kB / 0.5249 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.485e-05/0.332, allocations: 47.25 kB / 0.525 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.345e-05/0.3321, allocations: 58.25 kB / 0.525 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005888/0.3327, allocations: 408.2 kB / 0.5254 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.3328, allocations: 11.42 kB / 0.5254 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.3328, allocations: 24.22 kB / 0.5254 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003941/0.3332, allocations: 194.2 kB / 0.5256 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.3332, allocations: 1.891 kB / 0.5256 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.3333, allocations: 6.125 kB / 0.5256 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3333, allocations: 8.125 kB / 0.5256 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.3335, allocations: 96.17 kB / 0.5257 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009656/0.3345, allocations: 0.7918 MB / 0.5265 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.3352, allocations: 248.9 kB / 0.5267 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.3354, allocations: 92.03 kB / 0.5268 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.3354, allocations: 5.391 kB / 0.5268 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004065/0.3358, allocations: 215 kB / 0.527 GB, free: 13.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.844e-06/0.3358, allocations: 0 / 0.527 GB, free: 13.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.00249/0.3383, allocations: 1.104 MB / 0.5281 GB, free: 13.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.914e-05/0.3384, allocations: 141.3 kB / 0.5283 GB, free: 12.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008678/0.3393, allocations: 0.7536 MB / 0.529 GB, free: 12.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.3394, allocations: 38.02 kB / 0.529 GB, free: 12.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.3396, allocations: 236.2 kB / 0.5293 GB, free: 12.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.3397, allocations: 147.5 kB / 0.5294 GB, free: 12.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.3399, allocations: 77.97 kB / 0.5295 GB, free: 12.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.3401, allocations: 372.3 kB / 0.5298 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.3403, allocations: 117.1 kB / 0.5299 GB, free: 11.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.3406, allocations: 182 kB / 0.5301 GB, free: 11.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005714/0.3412, allocations: 321.9 kB / 0.5304 GB, free: 11.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3412, allocations: 0 / 0.5304 GB, free: 11.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007822/0.342, allocations: 448.1 kB / 0.5308 GB, free: 11.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.342, allocations: 6.25 kB / 0.5309 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.342, allocations: 2.281 kB / 0.5309 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3421, allocations: 7.266 kB / 0.5309 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.3424, allocations: 92.42 kB / 0.5309 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.3424, allocations: 7.688 kB / 0.531 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.3425, allocations: 16.48 kB / 0.531 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.3426, allocations: 17.97 kB / 0.531 GB, free: 11.04 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.000269/0.3428, allocations: 228.2 kB / 0.5312 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-05/0.3429, allocations: 64.67 kB / 0.5313 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.3431, allocations: 76.22 kB / 0.5313 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.3431, allocations: 8.344 kB / 0.5313 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.3431, allocations: 6.562 kB / 0.5314 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.3431, allocations: 3.984 kB / 0.5314 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.3449, allocations: 1.296 MB / 0.5326 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3449, allocations: 3.094 kB / 0.5326 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.345, allocations: 61.06 kB / 0.5327 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.345, allocations: 13.28 kB / 0.5327 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.3451, allocations: 16.36 kB / 0.5327 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.3451, allocations: 4.344 kB / 0.5327 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.59e-05/0.3451, allocations: 11.12 kB / 0.5327 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009228/0.346, allocations: 0.775 MB / 0.5335 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.3462, allocations: 175.9 kB / 0.5337 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.276e-05/0.3463, allocations: 20.27 kB / 0.5337 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.3466, allocations: 16.2 kB / 0.5337 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.3467, allocations: 38.34 kB / 0.5337 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.3467, allocations: 24.11 kB / 0.5337 GB, free: 8.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006267/0.3474, allocations: 0.5476 MB / 0.5343 GB, free: 8.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3474, allocations: 1.219 kB / 0.5343 GB, free: 8.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005278/0.3479, allocations: 84.94 kB / 0.5344 GB, free: 8.617 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.003188/0.3511, allocations: 1.766 MB / 0.5361 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006465/0.3518, allocations: 317 kB / 0.5364 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3518, allocations: 0 / 0.5364 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.3521, allocations: 163.7 kB / 0.5365 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000965/0.3531, allocations: 116.8 kB / 0.5367 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006216/0.3593, allocations: 4.66 MB / 0.5412 GB, free: 3.871 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/0.3599, allocations: 0.8788 MB / 0.5421 GB, free: 3.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002348/0.3602, allocations: 82.83 kB / 0.5421 GB, free: 3.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.3605, allocations: 179.6 kB / 0.5423 GB, free: 2.914 MB / 398.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3605, allocations: 0 / 0.5423 GB, free: 2.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04171/0.4022, allocations: 10.54 MB / 0.5526 GB, free: 8.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.495/8.898, allocations: 14.42 kB / 0.5526 GB, free: 8.727 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