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.001357/0.001357, allocations: 108.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.001369/0.001369, allocations: 184.8 kB / 18.71 MB, free: 4.355 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.427/1.427, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2258/0.2258, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001976, allocations: 67.89 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3834, allocations: 60.83 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003134/0.3865, allocations: 1.659 MB / 0.5201 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.3879, allocations: 0.864 MB / 0.521 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.092e-05/0.388, allocations: 1.062 kB / 0.521 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.3884, allocations: 54.03 kB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.3886, allocations: 64.86 kB / 0.5211 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.3889, allocations: 110.6 kB / 0.5212 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.3891, allocations: 88.55 kB / 0.5213 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.572e-05/0.3892, allocations: 5.516 kB / 0.5213 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.3893, allocations: 46 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.746e-05/0.3894, allocations: 25.2 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.3894, allocations: 3.625 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.33e-05/0.3895, allocations: 29.48 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.949e-05/0.3895, allocations: 30.67 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.864e-05/0.3896, allocations: 42.09 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.3898, allocations: 113.7 kB / 0.5216 GB, free: 1.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3898, allocations: 0 / 0.5216 GB, free: 1.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3898, allocations: 0 / 0.5216 GB, free: 1.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3898, allocations: 0 / 0.5216 GB, free: 1.258 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.0004709/0.3903, allocations: 438 kB / 0.522 GB, free: 0.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3904, allocations: 9.312 kB / 0.522 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.777e-05/0.3904, allocations: 32.33 kB / 0.522 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.3904, allocations: 12.08 kB / 0.522 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.3907, allocations: 221.1 kB / 0.5222 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3907, allocations: 1.531 kB / 0.5222 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.3907, allocations: 5.641 kB / 0.5222 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.3909, allocations: 51.27 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.3909, allocations: 0 / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3909, allocations: 0.75 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3909, allocations: 1.25 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.024e-05/0.391, allocations: 14.73 kB / 0.5223 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.3911, allocations: 197.5 kB / 0.5225 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.3913, allocations: 54.05 kB / 0.5225 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.883e-05/0.3914, allocations: 27.28 kB / 0.5226 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3914, allocations: 1.5 kB / 0.5226 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.3915, allocations: 71.8 kB / 0.5226 GB, free: 192 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3915, allocations: 0 / 0.5226 GB, free: 192 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002686/0.3918, allocations: 98.31 kB / 0.5227 GB, free: 136 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.3919, allocations: 52.72 kB / 0.5228 GB, free: 72 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.3922, allocations: 261.9 kB / 0.523 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3922, allocations: 26.77 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.3923, allocations: 114.7 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.3924, allocations: 19.66 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.3924, allocations: 23.73 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3926, allocations: 324.5 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.653e-05/0.3926, allocations: 13.47 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.035e-05/0.3927, allocations: 31.17 kB / 0.5236 GB, free: 15.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.3928, allocations: 41.59 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3928, 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.0001722/0.393, allocations: 94.19 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.393, allocations: 6.141 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.393, allocations: 1.094 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3931, allocations: 1.25 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.672e-05/0.3931, allocations: 9.344 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3932, allocations: 1.844 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.3932, allocations: 3.359 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.3932, allocations: 1.969 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.0001153/0.3933, allocations: 145.7 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.3934, allocations: 14.38 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.3934, allocations: 17.72 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3934, allocations: 1.875 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3934, allocations: 0 / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3934, allocations: 1.719 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.3937, allocations: 197.4 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3937, allocations: 0 / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.3937, allocations: 3.766 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3937, allocations: 1.281 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.3937, allocations: 1.219 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3937, allocations: 5.188 kB / 0.5241 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3938, allocations: 0 / 0.5241 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.394, allocations: 114.8 kB / 0.5242 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.3941, allocations: 89.39 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.3941, allocations: 5.281 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.3941, allocations: 1.906 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.3942, allocations: 4.391 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.3942, allocations: 11.31 kB / 0.5243 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002643/0.3945, allocations: 205.2 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3945, allocations: 3.938 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.3947, allocations: 17.61 kB / 0.5245 GB, free: 14.62 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.001355/0.396, allocations: 0.9532 MB / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.3962, allocations: 44.11 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3962, allocations: 0 / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.058e-05/0.3963, allocations: 17.84 kB / 0.5255 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.3966, allocations: 30.78 kB / 0.5255 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.3985, allocations: 1.654 MB / 0.5272 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.3989, allocations: 0.7204 MB / 0.5279 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.531e-05/0.399, allocations: 14.59 kB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.3991, allocations: 37.03 kB / 0.5279 GB, free: 11.82 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3991, allocations: 0 / 0.5279 GB, free: 11.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.4188, allocations: 3.412 MB / 0.5312 GB, free: 10.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.431/7.85, allocations: 11.53 kB / 0.5313 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