Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.0008145/0.0008145, 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.0008144/0.0008144, 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.9109/0.9109, allocations: 177 MB / 204.1 MB, free: 5.723 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.2563/0.2563, allocations: 34.23 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.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 442.2 MB, free: 1.465 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.648e-05, allocations: 2.281 kB / 442.3 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.1765/0.1765, allocations: 1.72 MB / 444 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1777, allocations: 0.9802 MB / 445 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/0.1777, allocations: 6.844 kB / 445 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.178, allocations: 47.56 kB / 445 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.1782, allocations: 102.1 kB / 445.1 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001121/0.1783, allocations: 80.66 kB / 445.2 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.1784, allocations: 135.7 kB / 445.3 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.273e-05/0.1785, allocations: 11.91 kB / 445.3 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.536e-05/0.1785, allocations: 65.7 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.537e-05/0.1786, allocations: 56.33 kB / 445.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.1786, allocations: 5.312 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.795e-05/0.1787, allocations: 57.3 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.903e-05/0.1787, allocations: 34.25 kB / 445.5 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.1787, allocations: 25.91 kB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.1789, allocations: 149.2 kB / 445.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1789, allocations: 0 / 445.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1789, allocations: 0 / 445.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1789, allocations: 0 / 445.7 MB, free: 42.78 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003308/0.1792, allocations: 370.2 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.1792, allocations: 11.84 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.879e-05/0.1793, allocations: 33.28 kB / 446.1 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.1793, allocations: 18.69 kB / 446.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.1795, allocations: 163.1 kB / 446.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1795, allocations: 2.969 kB / 446.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.1795, allocations: 3.031 kB / 446.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.1796, allocations: 79.52 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1796, allocations: 4.141 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-06/0.1796, allocations: 6.812 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.1796, allocations: 2.656 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.733e-05/0.1797, allocations: 53.69 kB / 446.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002402/0.1799, allocations: 281.1 kB / 446.7 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.1801, allocations: 94.22 kB / 446.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/0.1802, allocations: 36.53 kB / 446.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.1802, allocations: 0 / 446.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.47e-05/0.1803, allocations: 89.7 kB / 446.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.1803, allocations: 0 / 446.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005106/0.1808, allocations: 325.4 kB / 447.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.1808, allocations: 54.22 kB / 447.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.1809, allocations: 205.5 kB / 447.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.1809, allocations: 33.45 kB / 447.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.895e-05/0.1809, allocations: 106.7 kB / 447.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.181, allocations: 47.41 kB / 447.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.181, allocations: 29.62 kB / 447.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.627e-05/0.181, allocations: 331.8 kB / 448 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.257e-05/0.1811, allocations: 38.28 kB / 448.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.992e-05/0.1811, allocations: 60.16 kB / 448.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.276e-05/0.1812, allocations: 109.3 kB / 448.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1812, allocations: 0 / 448.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001387/0.1814, allocations: 164.3 kB / 448.4 MB, free: 40.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.1814, allocations: 14.69 kB / 448.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1814, allocations: 2.719 kB / 448.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1814, allocations: 0 / 448.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/0.1814, allocations: 23.27 kB / 448.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1814, allocations: 2.938 kB / 448.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.585e-05/0.1815, allocations: 4 kB / 448.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1815, allocations: 5.719 kB / 448.5 MB, free: 40.98 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 (15): * Single equations (assignments): 15 * 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.168e-05/0.1815, allocations: 135.2 kB / 448.6 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.1815, allocations: 18.91 kB / 448.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.1817, allocations: 202.8 kB / 448.8 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1817, allocations: 0 / 448.8 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1817, allocations: 2.938 kB / 448.8 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1817, allocations: 1.594 kB / 448.8 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.182, allocations: 474 kB / 449.3 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.182, allocations: 2.688 kB / 449.3 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/0.1821, allocations: 31.25 kB / 449.3 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1821, allocations: 64 / 449.3 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.1821, allocations: 10.11 kB / 449.3 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1821, allocations: 6.688 kB / 449.3 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1821, allocations: 0 / 449.3 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.1822, allocations: 280.8 kB / 449.6 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.1822, allocations: 16.7 kB / 449.6 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.1823, allocations: 6.906 kB / 449.6 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.033e-05/0.1823, allocations: 7.938 kB / 449.6 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.1823, allocations: 13.11 kB / 449.6 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1823, allocations: 8.344 kB / 449.6 MB, free: 40.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.155e-05/0.1824, allocations: 155.8 kB / 449.8 MB, free: 40.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1824, allocations: 7.938 kB / 449.8 MB, free: 40.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.1826, allocations: 37.14 kB / 449.8 MB, free: 40.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.0009099/0.1835, allocations: 1.252 MB / 451.1 MB, free: 39.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.1836, allocations: 114.2 kB / 451.2 MB, free: 39.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.1836, allocations: 0 / 451.2 MB, free: 39.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.482e-05/0.1837, allocations: 55.14 kB / 451.3 MB, free: 39.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.1839, allocations: 33.62 kB / 451.3 MB, free: 39.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.1849, allocations: 1.906 MB / 453.2 MB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.109e-05/0.185, allocations: 112.3 kB / 453.3 MB, free: 37.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.818e-05/0.185, allocations: 30.56 kB / 453.3 MB, free: 37.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.1851, allocations: 49.98 kB / 453.4 MB, free: 37.57 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1851, allocations: 3.938 kB / 453.4 MB, free: 37.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.2006, allocations: 4.979 MB / 458.4 MB, free: 36.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.899/7.099, allocations: 13.94 kB / 458.4 MB, free: 36.09 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! Error: Could not read variable t_new.y[3] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable t_new.y[3] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.197463196702302]