Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",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.001672/0.001672, allocations: 113.8 kB / 17.78 MB, free: 5.277 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.00211/0.00211, 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.555/1.555, 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.217/0.217, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 71.88 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3678, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002754/0.3706, allocations: 1.891 MB / 0.5204 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.3721, allocations: 0.9879 MB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.254e-05/0.3722, allocations: 2.281 kB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.3727, allocations: 229.1 kB / 0.5216 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003569/0.3731, allocations: 156.3 kB / 0.5217 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.3735, allocations: 197 kB / 0.5219 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.3738, allocations: 232.2 kB / 0.5221 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.374, allocations: 30.19 kB / 0.5221 GB, free: 1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.3741, allocations: 115 kB / 0.5223 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.3743, allocations: 153.4 kB / 0.5224 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.3744, allocations: 7.344 kB / 0.5224 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.3745, allocations: 66.17 kB / 0.5225 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.253e-05/0.3746, allocations: 56.55 kB / 0.5225 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.59e-05/0.3747, allocations: 86.05 kB / 0.5226 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.375, allocations: 236.4 kB / 0.5228 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.375, allocations: 0 / 0.5228 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.375, allocations: 0 / 0.5228 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.375, allocations: 1.219 kB / 0.5228 GB, free: 0.7109 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.0006108/0.3756, allocations: 0.5632 MB / 0.5234 GB, free: 204 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3757, allocations: 10.17 kB / 0.5234 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.3757, allocations: 39.31 kB / 0.5234 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.3758, allocations: 29.31 kB / 0.5235 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.3761, allocations: 284.1 kB / 0.5237 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3762, allocations: 3.781 kB / 0.5237 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.3762, allocations: 14.23 kB / 0.5237 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.3765, allocations: 113.3 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.3765, allocations: 9.469 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3765, allocations: 1.625 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3765, allocations: 1.375 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.3767, allocations: 50.02 kB / 0.5239 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005951/0.3773, allocations: 470.6 kB / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.3777, allocations: 128.6 kB / 0.5245 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.3778, allocations: 46.69 kB / 0.5245 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.3778, allocations: 4.406 kB / 0.5245 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.3781, allocations: 125.9 kB / 0.5247 GB, free: 15.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.3781, allocations: 0 / 0.5247 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.0014/0.3795, allocations: 0.4901 MB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.3796, allocations: 84.19 kB / 0.5252 GB, free: 14.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005137/0.3801, allocations: 434.7 kB / 0.5256 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.3801, allocations: 32.22 kB / 0.5257 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3803, allocations: 151.8 kB / 0.5258 GB, free: 14.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.301e-05/0.3803, allocations: 72 kB / 0.5259 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/0.3804, allocations: 45.3 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3806, allocations: 342.4 kB / 0.5262 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.3807, allocations: 56.47 kB / 0.5263 GB, free: 14.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.3809, allocations: 106.3 kB / 0.5264 GB, free: 13.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.3812, allocations: 162.1 kB / 0.5265 GB, free: 13.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.3812, allocations: 0 / 0.5265 GB, free: 13.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004291/0.3816, allocations: 243.7 kB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3817, allocations: 5.5 kB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3817, allocations: 1.375 kB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.3817, allocations: 3.359 kB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.3819, allocations: 43.61 kB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.3819, allocations: 1.984 kB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.695e-05/0.382, allocations: 13.47 kB / 0.5268 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.382, allocations: 11.48 kB / 0.5269 GB, free: 13.76 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.000174/0.3822, allocations: 165.2 kB / 0.527 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.3822, allocations: 38.39 kB / 0.5271 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.719e-05/0.3823, allocations: 39.12 kB / 0.5271 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3823, allocations: 3.641 kB / 0.5271 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3823, allocations: 1.375 kB / 0.5271 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3824, allocations: 0.75 kB / 0.5271 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.3834, allocations: 0.7258 MB / 0.5278 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.3834, allocations: 6.078 kB / 0.5278 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.355e-05/0.3835, allocations: 32 kB / 0.5278 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.3835, allocations: 2.594 kB / 0.5278 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3835, allocations: 6.219 kB / 0.5278 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3835, allocations: 2 kB / 0.5279 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.3835, allocations: 5.672 kB / 0.5279 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.384, allocations: 428.8 kB / 0.5283 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.3841, allocations: 102.8 kB / 0.5284 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.3842, allocations: 8.812 kB / 0.5284 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.3843, allocations: 5.234 kB / 0.5284 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.3844, allocations: 34.94 kB / 0.5284 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.3844, allocations: 9.781 kB / 0.5284 GB, free: 12.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003313/0.3848, allocations: 321.6 kB / 0.5287 GB, free: 12.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3848, allocations: 0 / 0.5287 GB, free: 12.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.3851, allocations: 47.88 kB / 0.5288 GB, free: 12.39 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.002806/0.3879, allocations: 1.375 MB / 0.5301 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004105/0.3884, allocations: 163.2 kB / 0.5303 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3884, allocations: 1.156 kB / 0.5303 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.3885, allocations: 82.88 kB / 0.5303 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/0.3891, allocations: 57.78 kB / 0.5304 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.3926, allocations: 2.827 MB / 0.5332 GB, free: 9.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.3931, allocations: 0.7727 MB / 0.5339 GB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.3932, allocations: 35.45 kB / 0.534 GB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.3933, allocations: 90.88 kB / 0.534 GB, free: 8.324 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3933, allocations: 384 / 0.534 GB, free: 8.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.4234, allocations: 6.27 MB / 0.5402 GB, free: 5.129 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.493, allocations: 14.39 kB / 0.5402 GB, free: 5.117 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches