Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001143/0.001143, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.26/0.26, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001699, allocations: 79.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4585, allocations: 62.43 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003701/0.4623, allocations: 1.73 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.4648, allocations: 1.621 MB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.245e-05/0.4649, allocations: 1.812 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.4653, allocations: 37.17 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.4657, allocations: 103 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.4659, allocations: 84.28 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.4661, allocations: 102.4 kB / 0.5342 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.4662, allocations: 14.88 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.4664, allocations: 49.64 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.4665, allocations: 49.45 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.4666, allocations: 5.5 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.4668, allocations: 99.08 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.4669, allocations: 24.03 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.718e-05/0.4669, allocations: 37.36 kB / 0.5345 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.4673, allocations: 174.3 kB / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4673, allocations: 0 / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4673, allocations: 0 / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.4673, allocations: 0 / 0.5346 GB, free: 10.32 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000662/0.468, allocations: 426.2 kB / 0.535 GB, free: 9.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.468, allocations: 9.625 kB / 0.535 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.114e-05/0.4681, allocations: 36.11 kB / 0.5351 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.4681, allocations: 16.97 kB / 0.5351 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.4685, allocations: 220.3 kB / 0.5353 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.4685, allocations: 9.375 kB / 0.5353 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.4686, allocations: 1.375 kB / 0.5353 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.4687, allocations: 70.5 kB / 0.5354 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4688, allocations: 0 / 0.5354 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.4688, allocations: 1.375 kB / 0.5354 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.4688, allocations: 1.375 kB / 0.5354 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.078e-05/0.4689, allocations: 17.45 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.4693, allocations: 298.4 kB / 0.5357 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.4695, allocations: 48.88 kB / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.997e-05/0.4696, allocations: 21.88 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.4696, allocations: 1.375 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.4698, allocations: 73.39 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.4698, allocations: 0 / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005916/0.4704, allocations: 177.3 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.4704, allocations: 90.02 kB / 0.5361 GB, free: 8.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.4706, allocations: 162.9 kB / 0.5362 GB, free: 8.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.4706, allocations: 30.89 kB / 0.5363 GB, free: 8.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.4707, allocations: 100.6 kB / 0.5364 GB, free: 8.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.4707, allocations: 27.22 kB / 0.5364 GB, free: 8.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.4708, allocations: 33.52 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4709, allocations: 321 kB / 0.5367 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.618e-05/0.471, allocations: 15.44 kB / 0.5367 GB, free: 8.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.182e-05/0.4711, allocations: 44.59 kB / 0.5368 GB, free: 8.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.4712, allocations: 59.73 kB / 0.5368 GB, free: 8.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4712, allocations: 4.031 kB / 0.5368 GB, free: 8.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001853/0.4714, allocations: 99.28 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4714, allocations: 5.812 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.4714, allocations: 192 / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4714, allocations: 1.156 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.909e-05/0.4715, allocations: 25.38 kB / 0.537 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4715, allocations: 1.094 kB / 0.537 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.374e-05/0.4716, allocations: 6.109 kB / 0.537 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.4716, allocations: 3.031 kB / 0.537 GB, free: 8.055 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 0.0001075/0.4717, allocations: 123.8 kB / 0.5371 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.4718, allocations: 9.109 kB / 0.5371 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.4718, allocations: 17.3 kB / 0.5371 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4718, allocations: 4.906 kB / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4718, allocations: 0 / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4718, allocations: 0 / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.4723, allocations: 401.2 kB / 0.5375 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4723, allocations: 7.969 kB / 0.5375 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.4724, allocations: 8.312 kB / 0.5375 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4724, allocations: 1.219 kB / 0.5375 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.4724, allocations: 4.891 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.4724, allocations: 1.25 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4724, allocations: 5.031 kB / 0.5375 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.4726, allocations: 200.1 kB / 0.5377 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.4727, allocations: 95.84 kB / 0.5378 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.4727, allocations: 5.438 kB / 0.5378 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.618e-05/0.4728, allocations: 6.453 kB / 0.5378 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.4729, allocations: 3.625 kB / 0.5378 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.4729, allocations: 2.656 kB / 0.5378 GB, free: 7.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.473, allocations: 128.1 kB / 0.5379 GB, free: 7.117 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.473, allocations: 0 / 0.5379 GB, free: 7.117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003358/0.4733, allocations: 49.77 kB / 0.538 GB, free: 7.098 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.001804/0.4752, allocations: 1.186 MB / 0.5392 GB, free: 6.199 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.4754, allocations: 70.72 kB / 0.5392 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4754, allocations: 0 / 0.5392 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.471e-05/0.4755, allocations: 25.42 kB / 0.5392 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.4758, allocations: 29.86 kB / 0.5393 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.4777, allocations: 1.587 MB / 0.5408 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.478, allocations: 0.6956 MB / 0.5415 GB, free: 4.012 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.661e-05/0.4781, allocations: 27.78 kB / 0.5415 GB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.827e-05/0.4782, allocations: 41.53 kB / 0.5416 GB, free: 3.961 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4782, allocations: 1.094 kB / 0.5416 GB, free: 3.961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.5036, allocations: 4.004 MB / 0.5455 GB, free: 1.746 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.494/7.998, allocations: 20.23 kB / 0.5455 GB, free: 1.73 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches