Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009825/0.0009825, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008251/0.0008251, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8853/0.8853, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1513/0.1513, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.376e-05, allocations: 6.078 kB / 406.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002728/0.002762, allocations: 1.641 MB / 408.6 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.004058, allocations: 0.7571 MB / 409.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.577e-05/0.004143, allocations: 3.938 kB / 409.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003491/0.004493, allocations: 71.66 kB / 409.4 MB, free: 15.65 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.004728, allocations: 67.67 kB / 409.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.004962, allocations: 79.72 kB / 409.5 MB, free: 15.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.005153, allocations: 107.6 kB / 409.6 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.005203, allocations: 4 kB / 409.6 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.005333, allocations: 55.81 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.00545, allocations: 43.89 kB / 409.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.005473, allocations: 4 kB / 409.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.789e-05/0.005561, allocations: 35.92 kB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.00563, allocations: 15.92 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.005679, allocations: 19.92 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.005872, allocations: 99.64 kB / 409.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005875, allocations: 0 / 409.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.005876, allocations: 7.938 kB / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.005881, allocations: 0 / 409.9 MB, free: 15.12 MB / 394.7 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.0005164/0.006397, allocations: 325.7 kB / 410.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.006436, allocations: 8.031 kB / 410.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.152e-05/0.006468, allocations: 30.75 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.0065, allocations: 16.78 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.006697, allocations: 150.2 kB / 410.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.006708, allocations: 384 / 410.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.006718, allocations: 4.375 kB / 410.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.006832, allocations: 53.92 kB / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.006839, allocations: 4 kB / 410.5 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.006847, allocations: 0 / 410.5 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.006853, allocations: 4 kB / 410.5 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.085e-05/0.006924, allocations: 15.98 kB / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.00709, allocations: 144.8 kB / 410.7 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.007222, allocations: 58.59 kB / 410.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.007254, allocations: 16.86 kB / 410.7 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.007266, allocations: 0 / 410.7 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.007395, allocations: 83.25 kB / 410.8 MB, free: 14.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.007396, allocations: 0 / 410.8 MB, free: 14.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002252/0.007622, allocations: 93.62 kB / 410.9 MB, free: 13.99 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.007664, allocations: 59.41 kB / 411 MB, free: 13.92 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.007792, allocations: 198.1 kB / 411.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.007805, allocations: 25.7 kB / 411.2 MB, free: 13.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.007851, allocations: 100.1 kB / 411.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.00788, allocations: 11.89 kB / 411.3 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.00791, allocations: 17.72 kB / 411.3 MB, free: 13.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.238e-05/0.008002, allocations: 330.8 kB / 411.6 MB, free: 13.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.154e-05/0.008034, allocations: 19.98 kB / 411.7 MB, free: 13.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.585e-05/0.008069, allocations: 29.7 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.347e-05/0.008133, allocations: 41.7 kB / 411.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.008135, allocations: 0 / 411.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001018/0.008237, allocations: 89.47 kB / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.008252, allocations: 4 kB / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.008257, allocations: 4 kB / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.00827, allocations: 0 / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.183e-05/0.008332, allocations: 20.02 kB / 411.8 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.008338, allocations: 0 / 411.8 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.041e-05/0.008369, allocations: 4 kB / 411.8 MB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.008375, allocations: 4 kB / 411.8 MB, free: 12.99 MB / 394.7 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 7.64e-05/0.008452, allocations: 129.7 kB / 412 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.008464, allocations: 11.89 kB / 412 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.008609, allocations: 98.08 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.008611, allocations: 0 / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.008615, allocations: 0 / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.008622, allocations: 3.984 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.008726, allocations: 157.1 kB / 412.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.008727, allocations: 0 / 412.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.008747, allocations: 12 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.00875, allocations: 3.938 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.008757, allocations: 0 / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.008758, allocations: 0 / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.008759, allocations: 0 / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.008866, allocations: 117 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.008884, allocations: 15.88 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.008901, allocations: 4 kB / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.576e-05/0.008926, allocations: 0 / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.008965, allocations: 11.98 kB / 412.4 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.008981, allocations: 4 kB / 412.4 MB, free: 12.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.009103, allocations: 140.1 kB / 412.5 MB, free: 12.22 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.009103, allocations: 0 / 412.5 MB, free: 12.22 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002543/0.009358, allocations: 27.92 kB / 412.6 MB, free: 12.19 MB / 394.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001274/0.01063, allocations: 0.9858 MB / 413.6 MB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.01079, allocations: 39.98 kB / 413.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01079, allocations: 4.062 kB / 413.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.421e-05/0.01084, allocations: 27.92 kB / 413.6 MB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.01109, allocations: 27.91 kB / 413.7 MB, free: 11.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.01248, allocations: 1.494 MB / 415.1 MB, free: 9.523 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.712e-05/0.01253, allocations: 95.23 kB / 415.2 MB, free: 9.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.285e-05/0.01258, allocations: 8.5 kB / 415.2 MB, free: 9.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.01262, allocations: 32.48 kB / 415.3 MB, free: 9.371 MB / 394.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01262, allocations: 0 / 415.3 MB, free: 9.371 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01515/0.02777, allocations: 3.879 MB / 419.2 MB, free: 5.363 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.071/7.099, allocations: 19.94 kB / 419.2 MB, free: 5.344 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.27175496891141]