Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.0009364/0.0009364, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.001023/0.001023, 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.9211/0.9211, allocations: 158.6 MB / 185 MB, free: 3.039 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.1357/0.1357, allocations: 32.36 MB / 269.6 MB, free: 14.98 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.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.411e-05, allocations: 5.938 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003179/0.003203, allocations: 1.668 MB / 408.6 MB, free: 488 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.004247, allocations: 0.7881 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.004321, allocations: 0 / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.004614, allocations: 59.69 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.004814, allocations: 59.69 kB / 409.5 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.005021, allocations: 95.69 kB / 409.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.005162, allocations: 95.64 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.16e-05/0.005254, allocations: 8.219 kB / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.689e-05/0.005331, allocations: 51.83 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.005524, allocations: 23.91 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.005541, allocations: 4 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.134e-05/0.005623, allocations: 47.92 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.005678, allocations: 31.86 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.005715, allocations: 19.92 kB / 409.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.005886, allocations: 131.5 kB / 410 MB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005888, allocations: 0 / 410 MB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005889, allocations: 3.938 kB / 410 MB, free: 15.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.005893, allocations: 0 / 410 MB, free: 15.06 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003988/0.006292, allocations: 361.4 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.006329, allocations: 12.03 kB / 410.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.861e-05/0.006357, allocations: 34.75 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.006388, allocations: 16.84 kB / 410.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.006578, allocations: 165.2 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.00659, allocations: 384 / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.006609, allocations: 8.375 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.006732, allocations: 65.91 kB / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.006742, allocations: 0 / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.00675, allocations: 0 / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.006754, allocations: 0 / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.084e-05/0.006805, allocations: 19.98 kB / 410.7 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.007092, allocations: 256 kB / 410.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.00721, allocations: 70.61 kB / 411 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.682e-05/0.007247, allocations: 20.84 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.00726, allocations: 4 kB / 411 MB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.007367, allocations: 67.33 kB / 411.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.304e-06/0.007369, allocations: 3.984 kB / 411.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004005/0.00777, allocations: 193.3 kB / 411.3 MB, free: 13.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.007798, allocations: 51.41 kB / 411.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.00797, allocations: 267.5 kB / 411.6 MB, free: 13.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.007982, allocations: 29.7 kB / 411.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.008031, allocations: 112.1 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.008057, allocations: 31.77 kB / 411.8 MB, free: 13.13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.008087, allocations: 21.72 kB / 411.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.437e-05/0.008171, allocations: 334.8 kB / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.409e-05/0.008205, allocations: 16 kB / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.266e-05/0.008248, allocations: 41.64 kB / 412.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.199e-05/0.00832, allocations: 57.7 kB / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.008321, allocations: 0 / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001209/0.008442, allocations: 121.6 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.008454, allocations: 4 kB / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.008458, allocations: 0 / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.00847, allocations: 0 / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.191e-05/0.008541, allocations: 20.17 kB / 412.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.008546, allocations: 0 / 412.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.008573, allocations: 3.938 kB / 412.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.00858, allocations: 4 kB / 412.4 MB, free: 12.48 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 (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 8.224e-05/0.008662, allocations: 141.7 kB / 412.5 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.008678, allocations: 23.89 kB / 412.5 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.008847, allocations: 127.1 kB / 412.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.008849, allocations: 0 / 412.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.008854, allocations: 0 / 412.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.008857, allocations: 0 / 412.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.009166, allocations: 378.4 kB / 413 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.009167, allocations: 0 / 413 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.009189, allocations: 11.94 kB / 413 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.009192, allocations: 7.984 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.0092, allocations: 384 / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.009201, allocations: 4.031 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.009205, allocations: 11.94 kB / 413.1 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.009645, allocations: 212.2 kB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.009659, allocations: 15.84 kB / 413.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.009676, allocations: 7.984 kB / 413.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.836e-05/0.009715, allocations: 4 kB / 413.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.009744, allocations: 11.92 kB / 413.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.009757, allocations: 4 kB / 413.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.009866, allocations: 199.3 kB / 413.5 MB, free: 11.26 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009866, allocations: 0 / 413.5 MB, free: 11.26 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001797/0.01005, allocations: 31.92 kB / 413.5 MB, free: 11.23 MB / 394.7 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 (9): * Single equations (assignments): 7 * 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.001028/0.01107, allocations: 1.129 MB / 414.7 MB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.01121, allocations: 63.91 kB / 414.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01121, allocations: 0 / 414.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.396e-05/0.01126, allocations: 31.92 kB / 414.8 MB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.0115, allocations: 35.95 kB / 414.8 MB, free: 9.977 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.01276, allocations: 1.833 MB / 416.6 MB, free: 8.047 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.045e-05/0.01283, allocations: 109.9 kB / 416.7 MB, free: 7.918 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.12e-05/0.01287, allocations: 12.48 kB / 416.7 MB, free: 7.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/0.01292, allocations: 40.48 kB / 416.8 MB, free: 7.863 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01292, allocations: 0 / 416.8 MB, free: 7.863 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.02808, allocations: 4.539 MB / 421.3 MB, free: 3.191 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.942/6.97, allocations: 3.906 kB / 421.3 MB, free: 3.188 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.162398716434836]