Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.0008119/0.0008119, allocations: 80.48 kB / 19.92 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.0008329/0.0008329, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8536/0.8536, allocations: 158.6 MB / 185 MB, free: 3.031 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.1379/0.1379, allocations: 32.37 MB / 269.6 MB, free: 15.06 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.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.914e-05, allocations: 2.281 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002276/0.002295, allocations: 1.644 MB / 408.6 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.003336, allocations: 0.761 MB / 409.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.812e-05/0.003414, allocations: 0 / 409.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.003745, allocations: 63.62 kB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.00396, allocations: 63.75 kB / 409.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.004166, allocations: 83.7 kB / 409.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.004307, allocations: 95.62 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.004346, allocations: 3.984 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.966e-05/0.004426, allocations: 51.84 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.652e-05/0.004492, allocations: 15.92 kB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.00451, allocations: 4 kB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.031e-05/0.00458, allocations: 43.91 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.004634, allocations: 23.92 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.004671, allocations: 19.88 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.004844, allocations: 119.5 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004846, allocations: 4 kB / 409.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004847, allocations: 3.938 kB / 409.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.004852, allocations: 0 / 409.9 MB, free: 15.15 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.0004383/0.00529, allocations: 349.5 kB / 410.2 MB, free: 14.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.005331, allocations: 12.03 kB / 410.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.777e-05/0.005359, allocations: 30.75 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.005393, allocations: 16.84 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.005583, allocations: 157.2 kB / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.005595, allocations: 8.312 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.005605, allocations: 4.375 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.005717, allocations: 53.98 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.005723, allocations: 0 / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.005731, allocations: 0 / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.005735, allocations: 3.938 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.957e-05/0.005785, allocations: 15.98 kB / 410.5 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.005953, allocations: 160.7 kB / 410.7 MB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.006068, allocations: 58.61 kB / 410.8 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.006102, allocations: 16.86 kB / 410.8 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.006117, allocations: 0 / 410.8 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.006241, allocations: 75.27 kB / 410.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.006242, allocations: 0 / 410.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002159/0.006458, allocations: 105.6 kB / 410.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.006491, allocations: 55.41 kB / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.006667, allocations: 259.5 kB / 411.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.006683, allocations: 33.7 kB / 411.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.006739, allocations: 108.1 kB / 411.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.006769, allocations: 11.95 kB / 411.4 MB, free: 13.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.006798, allocations: 21.7 kB / 411.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.006889, allocations: 326.8 kB / 411.7 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.519e-05/0.006925, allocations: 15.98 kB / 411.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.638e-05/0.006961, allocations: 33.64 kB / 411.8 MB, free: 13.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.176e-05/0.007023, allocations: 45.7 kB / 411.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.007025, allocations: 0 / 411.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.896e-05/0.007124, allocations: 101.4 kB / 411.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.007138, allocations: 11.28 kB / 411.9 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.007143, allocations: 0 / 411.9 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.007155, allocations: 0 / 411.9 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.459e-05/0.007209, allocations: 8 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.007215, allocations: 0 / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/0.007264, allocations: 15.94 kB / 412 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.00727, allocations: 4 kB / 412 MB, free: 12.87 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.058e-05/0.00734, allocations: 125.8 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.007353, allocations: 19.84 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.007488, allocations: 110.7 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.00749, allocations: 7.938 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.007494, allocations: 384 / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.007498, allocations: 0 / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.007599, allocations: 172.7 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.0076, allocations: 0 / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.452e-05/0.007615, allocations: 4 kB / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.007617, allocations: 3.938 kB / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.007624, allocations: 0 / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007625, allocations: 0 / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.007626, allocations: 4 kB / 412.4 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.007727, allocations: 121 kB / 412.5 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.758e-05/0.007744, allocations: 19.84 kB / 412.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.00776, allocations: 7.984 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.756e-05/0.007778, allocations: 0 / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.007806, allocations: 4 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.007818, allocations: 7.984 kB / 412.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.007936, allocations: 195.3 kB / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007936, allocations: 0 / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001512/0.008087, allocations: 20 kB / 412.8 MB, free: 11.98 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.0009049/0.008992, allocations: 0.9882 MB / 413.8 MB, free: 10.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.009108, allocations: 39.97 kB / 413.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.00911, allocations: 4 kB / 413.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.751e-05/0.009148, allocations: 23.92 kB / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.009336, allocations: 35.69 kB / 413.9 MB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.01064, allocations: 1.67 MB / 415.5 MB, free: 9.133 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.091e-05/0.0107, allocations: 96.97 kB / 415.6 MB, free: 9.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.656e-05/0.01074, allocations: 12.44 kB / 415.6 MB, free: 9.004 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.01079, allocations: 44.48 kB / 415.7 MB, free: 8.961 MB / 394.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01079, allocations: 0 / 415.7 MB, free: 8.961 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.02578, allocations: 4.223 MB / 419.9 MB, free: 4.617 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.125/7.151, allocations: 11.92 kB / 419.9 MB, free: 4.605 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.273090649396181]