Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.00139/0.00139, allocations: 76.5 kB / 19.92 MB, free: 4.637 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.001759/0.001759, allocations: 173.9 kB / 23.2 MB, free: 1.359 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.9792/0.9792, allocations: 158.6 MB / 185 MB, free: 3.027 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.1381/0.1381, allocations: 32.36 MB / 269.6 MB, free: 14.97 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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.088e-06/4.088e-06, allocations: 3.984 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.739e-05, allocations: 6.078 kB / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003017/0.003044, allocations: 1.68 MB / 408.6 MB, free: 468 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009641/0.004008, allocations: 0.7803 MB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-05/0.004096, allocations: 4 kB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.004418, allocations: 39.75 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.004661, allocations: 63.64 kB / 409.5 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.004914, allocations: 95.62 kB / 409.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.005075, allocations: 87.7 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.005196, allocations: 8.234 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.005304, allocations: 59.75 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.641e-05/0.00538, allocations: 19.92 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.005399, allocations: 4 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.737e-05/0.005486, allocations: 43.92 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.295e-05/0.005549, allocations: 27.91 kB / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.005598, allocations: 15.94 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.005801, allocations: 115.6 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.005805, allocations: 0 / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005807, allocations: 3.938 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.005813, allocations: 0 / 410 MB, free: 15.09 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.000501/0.006314, allocations: 337.6 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.00636, allocations: 8.031 kB / 410.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.006397, allocations: 34.75 kB / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.006435, allocations: 12.84 kB / 410.3 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.006707, allocations: 145.6 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.006722, allocations: 8.359 kB / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.006744, allocations: 4.375 kB / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.006884, allocations: 61.98 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.006894, allocations: 0 / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.006905, allocations: 3.984 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.00691, allocations: 0 / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.481e-05/0.006974, allocations: 27.92 kB / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.007294, allocations: 248 kB / 410.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.007425, allocations: 58.67 kB / 410.9 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.007462, allocations: 24.86 kB / 410.9 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.007477, allocations: 3.984 kB / 410.9 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.0076, allocations: 75.27 kB / 411 MB, free: 13.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.582e-06/0.007602, allocations: 0 / 411 MB, free: 13.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004563/0.008058, allocations: 185.3 kB / 411.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.008099, allocations: 55.39 kB / 411.2 MB, free: 13.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.008236, allocations: 194.2 kB / 411.4 MB, free: 13.47 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.008248, allocations: 25.7 kB / 411.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.008303, allocations: 104.1 kB / 411.5 MB, free: 13.33 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.008332, allocations: 23.8 kB / 411.6 MB, free: 13.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.008369, allocations: 29.7 kB / 411.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.00846, allocations: 326.8 kB / 411.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.476e-05/0.008514, allocations: 20 kB / 411.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.542e-05/0.00856, allocations: 37.7 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.928e-05/0.008639, allocations: 61.64 kB / 412 MB, free: 12.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.008641, allocations: 0 / 412 MB, free: 12.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001291/0.00877, allocations: 105.6 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.008785, allocations: 11.94 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.00879, allocations: 4.031 kB / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.008807, allocations: 0 / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.691e-05/0.008884, allocations: 20.17 kB / 412.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.008889, allocations: 0 / 412.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.008922, allocations: 7.938 kB / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.008929, allocations: 4 kB / 412.2 MB, free: 12.66 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 0.0003768/0.009306, allocations: 125.8 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.009318, allocations: 11.95 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.009493, allocations: 122.4 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.009496, allocations: 0 / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.0095, allocations: 4 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.009504, allocations: 0 / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.009826, allocations: 374.3 kB / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.009827, allocations: 0 / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.467e-05/0.009852, allocations: 8 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.009856, allocations: 4 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.009863, allocations: 3.938 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.009865, allocations: 384 / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.009868, allocations: 7.922 kB / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.01001, allocations: 212.3 kB / 413 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.01003, allocations: 19.84 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.01005, allocations: 8 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.01009, allocations: 3.984 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.01012, allocations: 7.938 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.01015, allocations: 7.984 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.713e-05/0.01022, allocations: 143.2 kB / 413.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01022, allocations: 0 / 413.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001783/0.0104, allocations: 27.92 kB / 413.3 MB, free: 11.51 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.001101/0.0115, allocations: 1.125 MB / 414.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.01164, allocations: 55.91 kB / 414.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.01165, allocations: 4 kB / 414.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.858e-05/0.0117, allocations: 39.97 kB / 414.5 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.01193, allocations: 28.22 kB / 414.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.0133, allocations: 1.658 MB / 416.2 MB, free: 8.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.181e-05/0.01337, allocations: 88.31 kB / 416.2 MB, free: 8.391 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.233e-05/0.01343, allocations: 12.56 kB / 416.3 MB, free: 8.379 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.556e-05/0.01349, allocations: 36.48 kB / 416.3 MB, free: 8.344 MB / 394.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01349, allocations: 0 / 416.3 MB, free: 8.344 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.03192, allocations: 4.182 MB / 420.5 MB, free: 4.023 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.774/6.806, allocations: 16.34 kB / 420.5 MB, free: 4.008 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.103995066136122]