Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009386/0.0009386, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008973/0.0008973, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9064/0.9064, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 34.24 MB / 294.8 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 3.938 kB / 442.2 MB, free: 1.496 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.057e-05, allocations: 2.281 kB / 442.2 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.1721/0.1721, allocations: 1.708 MB / 444 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009278/0.173, allocations: 0.9722 MB / 444.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.942e-05/0.1731, allocations: 0 / 444.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.1733, allocations: 35.78 kB / 445 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.1736, allocations: 104.9 kB / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.1737, allocations: 78 kB / 445.1 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.1738, allocations: 110.6 kB / 445.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.122e-05/0.1739, allocations: 10.27 kB / 445.3 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.483e-05/0.1739, allocations: 54.97 kB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.435e-05/0.174, allocations: 23.56 kB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.174, allocations: 10.09 kB / 445.3 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-05/0.1741, allocations: 44.27 kB / 445.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.436e-05/0.1741, allocations: 27.3 kB / 445.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.1742, allocations: 19.98 kB / 445.4 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.1743, allocations: 118 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1743, allocations: 0 / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.1743, allocations: 0 / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1743, allocations: 0 / 445.6 MB, free: 42.91 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.0003449/0.1747, allocations: 345.2 kB / 445.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1747, allocations: 11.88 kB / 445.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.325e-05/0.1747, allocations: 34.69 kB / 445.9 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.1747, allocations: 15.47 kB / 445.9 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.1749, allocations: 154.5 kB / 446.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1749, allocations: 4.094 kB / 446.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.175, allocations: 3.281 kB / 446.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.1751, allocations: 54.94 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1751, allocations: 192 / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.1751, allocations: 10.23 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1751, allocations: 0 / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.814e-05/0.1751, allocations: 22.45 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.1754, allocations: 250.8 kB / 446.4 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.1755, allocations: 56 kB / 446.5 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.1755, allocations: 31.89 kB / 446.5 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.1755, allocations: 0 / 446.5 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.1756, allocations: 69.95 kB / 446.6 MB, free: 42.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.1756, allocations: 0 / 446.6 MB, free: 42.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003822/0.176, allocations: 188 kB / 446.8 MB, free: 42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.1761, allocations: 51.41 kB / 446.8 MB, free: 41.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1762, allocations: 200.9 kB / 447 MB, free: 41.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.1762, allocations: 28.27 kB / 447 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.1762, allocations: 104.8 kB / 447.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.1762, allocations: 29.45 kB / 447.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.1763, allocations: 25.88 kB / 447.2 MB, free: 41.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.609e-05/0.1763, allocations: 328.1 kB / 447.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.259e-05/0.1763, allocations: 24 kB / 447.5 MB, free: 41.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.535e-05/0.1764, allocations: 37 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.287e-05/0.1764, allocations: 63.17 kB / 447.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1764, allocations: 0 / 447.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.763e-05/0.1765, allocations: 108.4 kB / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1765, allocations: 8.375 kB / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1765, allocations: 32 / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1766, allocations: 4 kB / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.038e-05/0.1766, allocations: 15.95 kB / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1766, allocations: 0 / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.1766, allocations: 5.094 kB / 447.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1766, allocations: 10.53 kB / 447.8 MB, free: 41.28 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 5.606e-05/0.1767, allocations: 131.1 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.1767, allocations: 9.859 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.1769, allocations: 125.4 kB / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1769, allocations: 5.094 kB / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1769, allocations: 4 kB / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1769, allocations: 1.266 kB / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.1771, allocations: 373.9 kB / 448.4 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1771, allocations: 2.938 kB / 448.4 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.1771, allocations: 11.72 kB / 448.4 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1771, allocations: 0 / 448.4 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.1771, allocations: 2.656 kB / 448.4 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1771, allocations: 0 / 448.4 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1771, allocations: 6.047 kB / 448.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.859e-05/0.1772, allocations: 216.2 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-06/0.1772, allocations: 13.88 kB / 448.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.1773, allocations: 2.938 kB / 448.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.773e-05/0.1773, allocations: 6.844 kB / 448.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.1773, allocations: 10.39 kB / 448.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1773, allocations: 2.812 kB / 448.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.078e-05/0.1774, allocations: 155.3 kB / 448.9 MB, free: 40.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1774, allocations: 0 / 448.9 MB, free: 40.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.1776, allocations: 25.53 kB / 448.9 MB, free: 40.5 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.0008387/0.1784, allocations: 1.137 MB / 450 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.1785, allocations: 52.78 kB / 450.1 MB, free: 39.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1785, allocations: 3.938 kB / 450.1 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.905e-05/0.1785, allocations: 30.94 kB / 450.1 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.1788, allocations: 40.69 kB / 450.1 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000966/0.1797, allocations: 1.677 MB / 451.8 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.612e-05/0.1798, allocations: 91.75 kB / 451.9 MB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.034e-05/0.1798, allocations: 17.17 kB / 451.9 MB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.1799, allocations: 39.59 kB / 452 MB, free: 38.19 MB / 410.7 MB Notification: Performance of SimCode: time 6.02e-07/0.1799, allocations: 0 / 452 MB, free: 38.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.1943, allocations: 4.276 MB / 456.2 MB, free: 36.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/7.091, allocations: 2.656 kB / 456.2 MB, free: 36.77 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.123993341811001]