Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",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.001256/0.001256, 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.001176/0.001176, 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.392/1.392, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2623/0.2623, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 64.09 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.37, allocations: 60.83 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003051/0.3731, allocations: 1.702 MB / 0.5202 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.3746, allocations: 0.8799 MB / 0.521 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.987e-05/0.3747, allocations: 1.031 kB / 0.521 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.375, allocations: 38.59 kB / 0.5211 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.3753, allocations: 65.27 kB / 0.5211 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.3757, allocations: 110.2 kB / 0.5212 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.3759, allocations: 99.3 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3761, allocations: 12.11 kB / 0.5213 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.242e-05/0.3761, allocations: 37.39 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.94e-05/0.3762, allocations: 34.23 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.3763, allocations: 3.281 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.3764, allocations: 46.14 kB / 0.5215 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.3765, allocations: 21.52 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.3765, allocations: 42.5 kB / 0.5215 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.3768, allocations: 123.7 kB / 0.5216 GB, free: 1.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3768, allocations: 0 / 0.5216 GB, free: 1.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3768, allocations: 0 / 0.5216 GB, free: 1.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.3768, allocations: 0 / 0.5216 GB, free: 1.207 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005637/0.3774, allocations: 432.1 kB / 0.5221 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3774, allocations: 9.953 kB / 0.5221 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.454e-05/0.3775, allocations: 32.53 kB / 0.5221 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.3775, allocations: 15.19 kB / 0.5221 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.3778, allocations: 210.9 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3778, allocations: 3.219 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.3778, allocations: 5.5 kB / 0.5223 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.378, allocations: 61.89 kB / 0.5224 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.378, allocations: 1.469 kB / 0.5224 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.378, allocations: 0 / 0.5224 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.378, allocations: 1.094 kB / 0.5224 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.02e-05/0.3781, allocations: 19.12 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.3784, allocations: 297.9 kB / 0.5227 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.3786, allocations: 59.19 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.291e-05/0.3787, allocations: 20.58 kB / 0.5228 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.3787, allocations: 0.9688 kB / 0.5228 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.3789, allocations: 74.81 kB / 0.5228 GB, free: 56 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.3789, allocations: 0 / 0.5228 GB, free: 56 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006173/0.3795, allocations: 181.8 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.3796, allocations: 57.55 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.3799, allocations: 221.5 kB / 0.5233 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.38, allocations: 27.89 kB / 0.5233 GB, free: 15.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.435e-05/0.3801, allocations: 106.2 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.3802, allocations: 29.14 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.3802, allocations: 25.75 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.3805, allocations: 322.9 kB / 0.5238 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-05/0.3805, allocations: 23.12 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.85e-05/0.3806, allocations: 37.94 kB / 0.5238 GB, free: 15.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.3808, allocations: 58.39 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3808, allocations: 0 / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002251/0.381, allocations: 110.9 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.381, allocations: 4.688 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3811, allocations: 4.938 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3811, allocations: 1.609 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-05/0.3812, allocations: 15.84 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3812, allocations: 0 / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.3812, allocations: 7.172 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.3813, allocations: 8.141 kB / 0.524 GB, free: 15.11 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.0001822/0.3815, allocations: 138 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.3815, allocations: 14.08 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.889e-05/0.3816, allocations: 18.17 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3816, allocations: 1.375 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3816, allocations: 0 / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.3816, allocations: 4.781 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006035/0.3822, allocations: 402.4 kB / 0.5246 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3822, allocations: 3.938 kB / 0.5246 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.491e-05/0.3823, allocations: 9.172 kB / 0.5246 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.3823, allocations: 5.766 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3823, allocations: 2.062 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3823, allocations: 1.844 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3823, allocations: 240 / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.3826, allocations: 213.5 kB / 0.5248 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.3827, allocations: 86.08 kB / 0.5249 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.3827, allocations: 7 kB / 0.5249 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.3828, allocations: 2.344 kB / 0.5249 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.3828, allocations: 9.531 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.3828, allocations: 8.391 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.383, allocations: 175.1 kB / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.383, allocations: 0 / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.3833, allocations: 26.44 kB / 0.5251 GB, free: 14.2 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.002175/0.3855, allocations: 1.099 MB / 0.5262 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.3857, allocations: 55.97 kB / 0.5262 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3857, allocations: 0 / 0.5262 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.136e-05/0.3858, allocations: 33.05 kB / 0.5263 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.3862, allocations: 26.61 kB / 0.5263 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.3883, allocations: 1.734 MB / 0.528 GB, free: 11.94 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.3887, allocations: 0.7105 MB / 0.5287 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.432e-05/0.3888, allocations: 17.28 kB / 0.5287 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.3889, allocations: 42.97 kB / 0.5287 GB, free: 11.21 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3889, allocations: 0 / 0.5287 GB, free: 11.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.4159, allocations: 3.544 MB / 0.5322 GB, free: 9.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/8.686, allocations: 4.562 kB / 0.5322 GB, free: 9.652 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches