Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",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.00143/0.00143, allocations: 115.7 kB / 17.78 MB, free: 5.254 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.001521/0.001521, allocations: 185 kB / 18.72 MB, free: 4.332 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.41/1.41, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2292/0.2292, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.00187, allocations: 71.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3688, allocations: 60.82 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002994/0.3719, allocations: 1.658 MB / 0.5201 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3733, allocations: 0.856 MB / 0.521 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.154e-05/0.3734, allocations: 4.969 kB / 0.521 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.3737, allocations: 46.38 kB / 0.521 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.374, allocations: 59.66 kB / 0.5211 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.3743, allocations: 116.2 kB / 0.5212 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.3744, allocations: 92.14 kB / 0.5213 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.3745, allocations: 8.75 kB / 0.5213 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.801e-05/0.3746, allocations: 37.31 kB / 0.5213 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.3746, allocations: 28.94 kB / 0.5213 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.3747, allocations: 2.719 kB / 0.5213 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.319e-05/0.3748, allocations: 35.31 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.3748, allocations: 26.44 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.3749, allocations: 40.59 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.3751, allocations: 110.2 kB / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3751, allocations: 0 / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3751, allocations: 0 / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3751, allocations: 1.062 kB / 0.5215 GB, free: 1.266 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004803/0.3756, allocations: 440.9 kB / 0.522 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3756, allocations: 9.281 kB / 0.522 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.562e-05/0.3757, allocations: 33.36 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.3757, allocations: 14.27 kB / 0.522 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.376, allocations: 222.4 kB / 0.5222 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.376, allocations: 1.531 kB / 0.5222 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.376, allocations: 6.203 kB / 0.5222 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.3761, allocations: 46 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3761, allocations: 0.7969 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3762, allocations: 1.156 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3762, allocations: 0 / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.512e-05/0.3762, allocations: 14.7 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.3764, allocations: 194.5 kB / 0.5225 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.3766, allocations: 56.8 kB / 0.5225 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.3766, allocations: 19.62 kB / 0.5226 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.3767, allocations: 1.156 kB / 0.5226 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.3768, allocations: 76.55 kB / 0.5226 GB, free: 200 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.3768, allocations: 0.9688 kB / 0.5226 GB, free: 200 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002752/0.3771, allocations: 100.9 kB / 0.5227 GB, free: 140 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.3771, allocations: 53.05 kB / 0.5228 GB, free: 76 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.3774, allocations: 257.6 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3775, allocations: 26.77 kB / 0.523 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.3775, allocations: 118.7 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.3776, allocations: 19.55 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.3776, allocations: 24.73 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3778, allocations: 327.7 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-05/0.3779, allocations: 14.48 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.336e-05/0.3779, allocations: 25.5 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.3781, allocations: 46.67 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3781, allocations: 3.938 kB / 0.5236 GB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000171/0.3782, allocations: 85.89 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3783, allocations: 8.562 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3783, allocations: 0.5156 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3783, allocations: 1.312 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.001e-05/0.3784, allocations: 15.2 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3784, allocations: 5.266 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.3784, allocations: 2.609 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3785, allocations: 2.125 kB / 0.5237 GB, free: 15.31 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 (7): * Single equations (assignments): 7 * 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.0001291/0.3786, allocations: 141.8 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.3786, allocations: 14.62 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.3787, allocations: 17.92 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3787, allocations: 5.297 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3787, allocations: 0.8906 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3787, allocations: 0 / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.3789, allocations: 198.1 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3789, allocations: 320 / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.3789, allocations: 3.812 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3789, allocations: 1.156 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3789, allocations: 10.75 kB / 0.5241 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3789, allocations: 0 / 0.5241 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.379, allocations: 0 / 0.5241 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.3791, allocations: 119.1 kB / 0.5242 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.3792, allocations: 88.61 kB / 0.5243 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.3792, allocations: 2.016 kB / 0.5243 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.48e-05/0.3793, allocations: 2.812 kB / 0.5243 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.3793, allocations: 4.094 kB / 0.5243 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.3793, allocations: 6.047 kB / 0.5243 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.3795, allocations: 203.9 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3795, allocations: 7.875 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.3798, allocations: 18.73 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00186/0.3816, allocations: 0.9548 MB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.3818, allocations: 37.12 kB / 0.5255 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3818, allocations: 0 / 0.5255 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.475e-05/0.3819, allocations: 22.09 kB / 0.5255 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.3822, allocations: 34.83 kB / 0.5255 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.384, allocations: 1.653 MB / 0.5272 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.3844, allocations: 0.72 MB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.179e-05/0.3845, allocations: 10.2 kB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.3845, allocations: 38.11 kB / 0.5279 GB, free: 11.82 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3845, allocations: 0 / 0.5279 GB, free: 11.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.4092, allocations: 3.409 MB / 0.5312 GB, free: 10.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.462, allocations: 8.75 kB / 0.5312 GB, free: 10.37 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_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_Test61.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches