Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.0009306/0.0009306, allocations: 80.34 kB / 20.67 MB, free: 3.895 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.0009756/0.0009756, allocations: 160.9 kB / 23.95 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.9133/0.9133, allocations: 177 MB / 204.1 MB, free: 5.762 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.2583/0.2583, allocations: 34.24 MB / 294.8 MB, free: 0.6992 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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 442.2 MB, free: 1.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.702e-05, allocations: 6.281 kB / 442.3 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.1735/0.1736, allocations: 1.699 MB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1747, allocations: 0.9843 MB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.974e-05/0.1748, allocations: 2.531 kB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.1751, allocations: 77.97 kB / 445 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.1755, allocations: 122.7 kB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.1757, allocations: 76.44 kB / 445.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.1759, allocations: 121.2 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.176, allocations: 5.875 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.015e-05/0.1761, allocations: 60.38 kB / 445.4 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.626e-05/0.1762, allocations: 62.53 kB / 445.5 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1762, allocations: 2.438 kB / 445.5 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.241e-05/0.1763, allocations: 56.48 kB / 445.5 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.016e-05/0.1763, allocations: 23.05 kB / 445.5 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.1764, allocations: 22.41 kB / 445.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1765, allocations: 122.1 kB / 445.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1765, allocations: 0 / 445.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1765, allocations: 0.7188 kB / 445.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1766, allocations: 2.594 kB / 445.7 MB, free: 42.85 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.0003812/0.1769, allocations: 356.8 kB / 446 MB, free: 42.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.177, allocations: 8.5 kB / 446 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.628e-05/0.177, allocations: 34.25 kB / 446.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.177, allocations: 14.69 kB / 446.1 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.1772, allocations: 156.5 kB / 446.2 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.1772, allocations: 3.375 kB / 446.2 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.1773, allocations: 7.438 kB / 446.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.1774, allocations: 58.19 kB / 446.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1774, allocations: 192 / 446.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1774, allocations: 4.125 kB / 446.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1774, allocations: 0 / 446.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.031e-05/0.1774, allocations: 18.94 kB / 446.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.1777, allocations: 261 kB / 446.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.1778, allocations: 61.23 kB / 446.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.1778, allocations: 27.55 kB / 446.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.1779, allocations: 2.656 kB / 446.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.178, allocations: 67.42 kB / 446.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.178, allocations: 1.172 kB / 446.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004561/0.1784, allocations: 183.9 kB / 446.9 MB, free: 41.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.1785, allocations: 51.41 kB / 447 MB, free: 41.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.1786, allocations: 230.6 kB / 447.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.1786, allocations: 28.73 kB / 447.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.1787, allocations: 115.5 kB / 447.3 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.1787, allocations: 22.52 kB / 447.4 MB, free: 41.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.1787, allocations: 28.83 kB / 447.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.1788, allocations: 321.2 kB / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.53e-05/0.1788, allocations: 22.47 kB / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.899e-05/0.1789, allocations: 39.2 kB / 447.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.038e-05/0.1789, allocations: 63.55 kB / 447.8 MB, free: 41.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1789, allocations: 0 / 447.8 MB, free: 41.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001138/0.179, allocations: 114.3 kB / 447.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1791, allocations: 8.859 kB / 447.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1791, allocations: 0 / 447.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1791, allocations: 0 / 447.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.1791, allocations: 17.31 kB / 448 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1792, allocations: 0 / 448 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.087e-05/0.1792, allocations: 6.547 kB / 448 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1792, allocations: 5.594 kB / 448 MB, free: 41.21 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.573e-05/0.1793, allocations: 143.4 kB / 448.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.1793, allocations: 12.67 kB / 448.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.1794, allocations: 128.2 kB / 448.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1794, allocations: 2.906 kB / 448.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1794, allocations: 2.875 kB / 448.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1794, allocations: 0 / 448.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.1797, allocations: 378.4 kB / 448.6 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1797, allocations: 0 / 448.6 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.093e-05/0.1797, allocations: 11.31 kB / 448.6 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1797, allocations: 4.031 kB / 448.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1797, allocations: 6.328 kB / 448.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1797, allocations: 0 / 448.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1797, allocations: 0 / 448.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.1798, allocations: 219.3 kB / 448.9 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.1799, allocations: 6.734 kB / 448.9 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.1799, allocations: 6.844 kB / 448.9 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.1799, allocations: 2.75 kB / 448.9 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.1799, allocations: 11.73 kB / 448.9 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.18, allocations: 10.12 kB / 448.9 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.7e-05/0.18, allocations: 176.7 kB / 449.1 MB, free: 40.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.18, allocations: 0 / 449.1 MB, free: 40.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001778/0.1802, allocations: 24.75 kB / 449.1 MB, free: 40.43 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.0008896/0.1811, allocations: 1.13 MB / 450.2 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.1812, allocations: 57.36 kB / 450.3 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1812, allocations: 0 / 450.3 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.927e-05/0.1813, allocations: 30.67 kB / 450.3 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.1815, allocations: 35.3 kB / 450.3 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.1825, allocations: 1.734 MB / 452.1 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.851e-05/0.1825, allocations: 105.6 kB / 452.2 MB, free: 38.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.713e-05/0.1826, allocations: 15.11 kB / 452.2 MB, free: 38.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.488e-05/0.1826, allocations: 44.42 kB / 452.2 MB, free: 38.12 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.1826, allocations: 0 / 452.2 MB, free: 38.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.1975, allocations: 4.387 MB / 456.6 MB, free: 36.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/7.077, allocations: 7.078 kB / 456.6 MB, free: 36.69 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.201001917943358]