Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",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.001115/0.001116, allocations: 113.8 kB / 17.78 MB, free: 5.266 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.001225/0.001225, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.334/1.334, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2007/0.2007, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 71.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3564, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004548/0.361, allocations: 2.312 MB / 0.5208 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002732/0.3637, allocations: 1.276 MB / 0.522 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.364, allocations: 7.188 kB / 0.522 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000813/0.3648, allocations: 285.7 kB / 0.5223 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008639/0.3657, allocations: 270.2 kB / 0.5225 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.3672, allocations: 376.7 kB / 0.5229 GB, free: 432 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008521/0.3681, allocations: 0.5178 MB / 0.5234 GB, free: 204 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.3683, allocations: 55.11 kB / 0.5235 GB, free: 172 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003883/0.3687, allocations: 234.5 kB / 0.5237 GB, free: 80 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004701/0.3692, allocations: 259.8 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.322e-05/0.3693, allocations: 17.78 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.3695, allocations: 57.25 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.3697, allocations: 109.7 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.37, allocations: 180.8 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006931/0.3707, allocations: 396.8 kB / 0.5247 GB, free: 15.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3707, allocations: 0 / 0.5247 GB, free: 15.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3707, allocations: 0.5625 kB / 0.5247 GB, free: 15.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.3707, allocations: 0 / 0.5247 GB, free: 15.63 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001553/0.3723, allocations: 0.7797 MB / 0.5254 GB, free: 14.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.3724, allocations: 13.62 kB / 0.5254 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.519e-05/0.3724, allocations: 42.53 kB / 0.5255 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.3726, allocations: 57.06 kB / 0.5255 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008238/0.3734, allocations: 409.2 kB / 0.5259 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.3735, allocations: 11.66 kB / 0.5259 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.3735, allocations: 18.08 kB / 0.5259 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000552/0.3741, allocations: 206.5 kB / 0.5261 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3741, allocations: 2.219 kB / 0.5261 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.3741, allocations: 6.125 kB / 0.5261 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.547e-06/0.3742, allocations: 4.125 kB / 0.5261 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003715/0.3745, allocations: 102.7 kB / 0.5262 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.3757, allocations: 0.8575 MB / 0.5271 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008878/0.3766, allocations: 292.5 kB / 0.5274 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.3769, allocations: 93.8 kB / 0.5275 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/0.377, allocations: 8.391 kB / 0.5275 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005742/0.3776, allocations: 228.5 kB / 0.5277 GB, free: 13.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.946e-06/0.3776, allocations: 0 / 0.5277 GB, free: 13.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002965/0.3806, allocations: 1.002 MB / 0.5287 GB, free: 12.58 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.3807, allocations: 171.8 kB / 0.5288 GB, free: 12.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.3818, allocations: 0.6066 MB / 0.5294 GB, free: 12.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/0.3818, allocations: 41.66 kB / 0.5295 GB, free: 12.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.3821, allocations: 221.5 kB / 0.5297 GB, free: 11.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.3822, allocations: 125.1 kB / 0.5298 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.3824, allocations: 75.97 kB / 0.5299 GB, free: 11.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.3826, allocations: 369.9 kB / 0.5302 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.383, allocations: 102.7 kB / 0.5303 GB, free: 11.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.3833, allocations: 179.8 kB / 0.5305 GB, free: 11.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007246/0.3841, allocations: 298 kB / 0.5308 GB, free: 10.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3841, allocations: 7.938 kB / 0.5308 GB, free: 10.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001082/0.3852, allocations: 404.4 kB / 0.5312 GB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.3852, allocations: 6.562 kB / 0.5312 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3852, allocations: 6 kB / 0.5312 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.3853, allocations: 4.188 kB / 0.5312 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/0.3857, allocations: 85.33 kB / 0.5313 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.3858, allocations: 12.92 kB / 0.5313 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.3861, allocations: 21.11 kB / 0.5313 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.3861, allocations: 17.44 kB / 0.5313 GB, free: 10.67 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.000302/0.3864, allocations: 211.2 kB / 0.5315 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.3866, allocations: 57.66 kB / 0.5316 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.3867, allocations: 65.89 kB / 0.5316 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.3867, allocations: 5.156 kB / 0.5316 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.3868, allocations: 5.359 kB / 0.5316 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3868, allocations: 5.375 kB / 0.5316 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.3891, allocations: 1.264 MB / 0.5329 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.3891, allocations: 2.125 kB / 0.5329 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.3893, allocations: 48.78 kB / 0.5329 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.3893, allocations: 7.406 kB / 0.5329 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.3893, allocations: 15 kB / 0.5329 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.3893, allocations: 7.266 kB / 0.5329 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3893, allocations: 3.906 kB / 0.533 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000831/0.3902, allocations: 0.8053 MB / 0.5337 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.917e-05/0.3903, allocations: 123.4 kB / 0.5339 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.452e-05/0.3903, allocations: 22.67 kB / 0.5339 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.3907, allocations: 20.45 kB / 0.5339 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.3908, allocations: 32.22 kB / 0.5339 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.3908, allocations: 24.14 kB / 0.5339 GB, free: 8.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005051/0.3913, allocations: 453.3 kB / 0.5344 GB, free: 8.316 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3913, allocations: 4 kB / 0.5344 GB, free: 8.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005709/0.3919, allocations: 84.36 kB / 0.5345 GB, free: 8.293 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002318/0.3942, allocations: 1.746 MB / 0.5362 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007205/0.395, allocations: 279.6 kB / 0.5364 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.395, allocations: 1.375 kB / 0.5364 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.3953, allocations: 159.7 kB / 0.5366 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.3964, allocations: 141.2 kB / 0.5367 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005684/0.4021, allocations: 4.401 MB / 0.541 GB, free: 3.625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.4026, allocations: 0.8556 MB / 0.5419 GB, free: 2.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002777/0.4029, allocations: 86.3 kB / 0.5419 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.4031, allocations: 179.5 kB / 0.5421 GB, free: 2.664 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4031, allocations: 0 / 0.5421 GB, free: 2.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.4308, allocations: 10.55 MB / 0.5524 GB, free: 8.895 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.407/8.838, allocations: 11.73 kB / 0.5524 GB, free: 8.883 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches