Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",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.001561/0.001561, 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.002036/0.002036, allocations: 179.9 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.419/1.419, 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.2134/0.2134, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 63.89 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3615, allocations: 60.83 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002764/0.3643, allocations: 1.889 MB / 0.5204 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.3656, allocations: 0.9866 MB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.496e-05/0.3657, allocations: 1.062 kB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.3661, allocations: 159.3 kB / 0.5215 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.3664, allocations: 132.8 kB / 0.5216 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.3668, allocations: 191.4 kB / 0.5218 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.3671, allocations: 226.6 kB / 0.522 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3672, allocations: 27.17 kB / 0.522 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.3673, allocations: 114.2 kB / 0.5221 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.3675, allocations: 123.2 kB / 0.5223 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.3675, allocations: 7.031 kB / 0.5223 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.3676, allocations: 70.84 kB / 0.5223 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.498e-05/0.3677, allocations: 47.62 kB / 0.5224 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.3678, allocations: 81.09 kB / 0.5225 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.3681, allocations: 215 kB / 0.5227 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3681, allocations: 4 kB / 0.5227 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3681, allocations: 0 / 0.5227 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3681, allocations: 1.469 kB / 0.5227 GB, free: 0.7266 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005766/0.3687, allocations: 0.5305 MB / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3688, allocations: 9.594 kB / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.3688, allocations: 40.03 kB / 0.5232 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.3688, allocations: 23.39 kB / 0.5233 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.3692, allocations: 280.6 kB / 0.5235 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.3692, allocations: 10.81 kB / 0.5235 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.3693, allocations: 14.16 kB / 0.5235 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.3695, allocations: 111 kB / 0.5237 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3695, allocations: 0 / 0.5237 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.3695, allocations: 5.938 kB / 0.5237 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3696, allocations: 2.406 kB / 0.5237 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.3697, allocations: 49.39 kB / 0.5237 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/0.3702, allocations: 464.1 kB / 0.5242 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/0.3706, allocations: 127.6 kB / 0.5243 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.3707, allocations: 47.16 kB / 0.5243 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.3707, allocations: 2.297 kB / 0.5243 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.371, allocations: 123.6 kB / 0.5244 GB, free: 15.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.371, allocations: 0 / 0.5244 GB, free: 15.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001247/0.3722, allocations: 487.2 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.3723, allocations: 80.36 kB / 0.525 GB, free: 14.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.3726, allocations: 353.6 kB / 0.5253 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.3727, allocations: 28.97 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/0.3728, allocations: 147.2 kB / 0.5255 GB, free: 14.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/0.3728, allocations: 72.61 kB / 0.5256 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.3729, allocations: 48.81 kB / 0.5256 GB, free: 14.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.373, allocations: 344.1 kB / 0.5259 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.3732, allocations: 59.62 kB / 0.526 GB, free: 14.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.3733, allocations: 94.02 kB / 0.5261 GB, free: 14.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.3736, allocations: 159.4 kB / 0.5262 GB, free: 13.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3736, allocations: 0 / 0.5262 GB, free: 13.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003923/0.374, allocations: 238.3 kB / 0.5265 GB, free: 13.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.374, allocations: 5.828 kB / 0.5265 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.374, allocations: 1.625 kB / 0.5265 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3741, allocations: 1.281 kB / 0.5265 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.3742, allocations: 44.33 kB / 0.5265 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3742, allocations: 7.438 kB / 0.5265 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.13e-05/0.3743, allocations: 16 kB / 0.5265 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.3743, allocations: 7.812 kB / 0.5265 GB, free: 13.85 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001453/0.3745, allocations: 156 kB / 0.5267 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.3745, allocations: 32.73 kB / 0.5267 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.605e-05/0.3746, allocations: 36.09 kB / 0.5268 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3746, allocations: 2.75 kB / 0.5268 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3746, allocations: 1.375 kB / 0.5268 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3746, allocations: 1.172 kB / 0.5268 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008452/0.3755, allocations: 0.7238 MB / 0.5275 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3755, allocations: 1.375 kB / 0.5275 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.853e-05/0.3756, allocations: 30.97 kB / 0.5275 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3756, allocations: 2.75 kB / 0.5275 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.3756, allocations: 9.484 kB / 0.5275 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-06/0.3756, allocations: 11.33 kB / 0.5275 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3756, allocations: 5.312 kB / 0.5275 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.3761, allocations: 419.9 kB / 0.5279 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.3762, allocations: 96.78 kB / 0.528 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.3762, allocations: 9.188 kB / 0.528 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.3764, allocations: 9.766 kB / 0.528 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.3764, allocations: 22.88 kB / 0.5281 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.3764, allocations: 14.64 kB / 0.5281 GB, free: 12.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002447/0.3767, allocations: 260.3 kB / 0.5283 GB, free: 12.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3767, allocations: 0 / 0.5283 GB, free: 12.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.3771, allocations: 57.64 kB / 0.5284 GB, free: 12.55 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001794/0.3789, allocations: 1.355 MB / 0.5297 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003433/0.3792, allocations: 167.1 kB / 0.5299 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3792, allocations: 1.031 kB / 0.5299 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.3794, allocations: 83.48 kB / 0.5299 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.3799, allocations: 70.08 kB / 0.53 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.3828, allocations: 2.649 MB / 0.5326 GB, free: 9.398 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.3832, allocations: 0.7606 MB / 0.5333 GB, free: 8.664 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.3833, allocations: 44.5 kB / 0.5334 GB, free: 8.641 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.3834, allocations: 82.03 kB / 0.5335 GB, free: 8.578 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3834, allocations: 0 / 0.5335 GB, free: 8.578 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.4087, allocations: 5.934 MB / 0.5392 GB, free: 5.539 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/7.954, allocations: 9.719 kB / 0.5393 GB, free: 5.531 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_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_Test77.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches