Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001168/0.001168, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008371/0.0008371, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8937/0.8937, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2335/0.2335, allocations: 32.79 MB / 293.5 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 439.7 MB, free: 4.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.228e-05, allocations: 4.25 kB / 439.7 MB, free: 4.145 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002535/0.002557, allocations: 1.716 MB / 441.4 MB, free: 2.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.003713, allocations: 0.9742 MB / 442.4 MB, free: 1.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.536e-05/0.003788, allocations: 3.938 kB / 442.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.00405, allocations: 31.83 kB / 442.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.004345, allocations: 99.42 kB / 442.5 MB, free: 1.297 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.004522, allocations: 79.66 kB / 442.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.004678, allocations: 111.5 kB / 442.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.13e-05/0.00477, allocations: 8 kB / 442.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.125e-05/0.004851, allocations: 47.91 kB / 442.7 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.004919, allocations: 31.89 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.004935, allocations: 8 kB / 442.8 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-05/0.005015, allocations: 43.92 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.795e-05/0.005063, allocations: 19.86 kB / 442.8 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.005103, allocations: 19.92 kB / 442.9 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.005272, allocations: 119.6 kB / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.005276, allocations: 0 / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.005277, allocations: 0 / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.005282, allocations: 0 / 443 MB, free: 0.8164 MB / 410.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.0004133/0.005695, allocations: 345.5 kB / 443.3 MB, free: 460 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.005736, allocations: 12.03 kB / 443.3 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.005764, allocations: 42.67 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.005796, allocations: 12.84 kB / 443.4 MB, free: 384 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.005998, allocations: 150.2 kB / 443.5 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.006009, allocations: 384 / 443.5 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.006027, allocations: 4.375 kB / 443.5 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.006146, allocations: 61.92 kB / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.006155, allocations: 0 / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.006163, allocations: 0 / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.006167, allocations: 0 / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.881e-05/0.006215, allocations: 23.97 kB / 443.6 MB, free: 112 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1642/0.1704, allocations: 254.5 kB / 443.9 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.1705, allocations: 58.5 kB / 443.9 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.1706, allocations: 20.39 kB / 443.9 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.1706, allocations: 3.75 kB / 443.9 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.1707, allocations: 68.31 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.495e-06/0.1707, allocations: 0 / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004391/0.1712, allocations: 187 kB / 444.2 MB, free: 46.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.1712, allocations: 54.94 kB / 444.2 MB, free: 46.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1713, allocations: 181 kB / 444.4 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.477e-06/0.1713, allocations: 27.7 kB / 444.5 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.1714, allocations: 109.1 kB / 444.6 MB, free: 45.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.1714, allocations: 28.19 kB / 444.6 MB, free: 45.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.1714, allocations: 23.16 kB / 444.6 MB, free: 45.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.295e-05/0.1714, allocations: 327.4 kB / 444.9 MB, free: 45.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/0.1715, allocations: 24.48 kB / 445 MB, free: 45.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.758e-05/0.1715, allocations: 37.5 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.771e-05/0.1716, allocations: 61.62 kB / 445 MB, free: 45.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1716, allocations: 2.75 kB / 445.1 MB, free: 45.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001105/0.1717, allocations: 105.1 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1717, allocations: 5.812 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1717, allocations: 0 / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1717, allocations: 6.406 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.385e-05/0.1718, allocations: 16.67 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1718, allocations: 4.188 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.1718, allocations: 5.969 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1718, allocations: 2.312 kB / 445.2 MB, free: 45.56 MB / 410.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 6.305e-05/0.1719, allocations: 127.6 kB / 445.3 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.1719, allocations: 17.78 kB / 445.3 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.1721, allocations: 120.2 kB / 445.5 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1721, allocations: 2.906 kB / 445.5 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1721, allocations: 3.781 kB / 445.5 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1721, allocations: 0 / 445.5 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.1724, allocations: 376.8 kB / 445.8 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1724, allocations: 2.625 kB / 445.8 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/0.1724, allocations: 7.906 kB / 445.8 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1724, allocations: 0 / 445.8 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1724, allocations: 8.125 kB / 445.8 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1724, allocations: 2.656 kB / 445.8 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1724, allocations: 0 / 445.8 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.1725, allocations: 221.8 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.1725, allocations: 9.984 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.1725, allocations: 1.062 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.973e-05/0.1726, allocations: 3 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.1726, allocations: 10.14 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.1726, allocations: 6.453 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.099e-05/0.1727, allocations: 141.1 kB / 446.2 MB, free: 44.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1727, allocations: 0 / 446.2 MB, free: 44.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001883/0.1729, allocations: 23.97 kB / 446.3 MB, free: 44.86 MB / 410.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.0009392/0.1738, allocations: 1.146 MB / 447.4 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.174, allocations: 61.67 kB / 447.5 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.174, allocations: 0 / 447.5 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.257e-05/0.174, allocations: 29.67 kB / 447.5 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.1742, allocations: 25.86 kB / 447.5 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.1753, allocations: 1.651 MB / 449.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.153e-05/0.1754, allocations: 96.92 kB / 449.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.584e-05/0.1754, allocations: 18.45 kB / 449.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.1755, allocations: 35.62 kB / 449.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1755, allocations: 0 / 449.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.1925, allocations: 4.235 MB / 453.6 MB, free: 41.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.174/7.367, allocations: 0 / 453.6 MB, free: 41.24 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.429121342487633]