Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.0008382/0.0008382, allocations: 80.34 kB / 20.67 MB, free: 3.883 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.0008651/0.0008651, allocations: 156.9 kB / 23.95 MB, free: 0.6055 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.8921/0.8921, 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.2479/0.2479, allocations: 34.23 MB / 294.8 MB, free: 0.6797 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.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 442.3 MB, free: 1.441 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.854e-05, allocations: 2.281 kB / 442.3 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.1733/0.1733, allocations: 1.716 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1744, allocations: 0.9875 MB / 445 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.1746, allocations: 3.938 kB / 445 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.1749, allocations: 85.06 kB / 445 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00042/0.1753, allocations: 124 kB / 445.2 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.1756, allocations: 75.28 kB / 445.2 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.1758, allocations: 135.9 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.176, allocations: 5.984 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.1761, allocations: 73.41 kB / 445.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1762, allocations: 67.98 kB / 445.5 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1762, allocations: 2.906 kB / 445.5 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.394e-05/0.1763, allocations: 62.78 kB / 445.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.331e-05/0.1763, allocations: 27.09 kB / 445.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.1764, allocations: 23.17 kB / 445.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.1766, allocations: 140.3 kB / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1766, allocations: 2.688 kB / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1766, allocations: 2.062 kB / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1766, allocations: 0 / 445.8 MB, free: 42.8 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004056/0.177, allocations: 368.7 kB / 446.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.177, allocations: 11.94 kB / 446.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.627e-05/0.177, allocations: 33.72 kB / 446.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.1771, allocations: 18.31 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.1773, allocations: 164.5 kB / 446.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1773, allocations: 384 / 446.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.1774, allocations: 7.062 kB / 446.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1775, allocations: 62.53 kB / 446.4 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1775, allocations: 4.844 kB / 446.4 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1775, allocations: 4.125 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1775, allocations: 2.906 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.735e-05/0.1776, allocations: 23.73 kB / 446.5 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.1779, allocations: 271.2 kB / 446.7 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.1781, allocations: 60.83 kB / 446.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.1782, allocations: 22.89 kB / 446.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.1782, allocations: 2.781 kB / 446.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/0.1783, allocations: 69.78 kB / 446.9 MB, free: 41.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1783, allocations: 0 / 446.9 MB, free: 41.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005271/0.1788, allocations: 265.8 kB / 447.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.1788, allocations: 51.41 kB / 447.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.179, allocations: 238.7 kB / 447.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.179, allocations: 28.42 kB / 447.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.179, allocations: 109 kB / 447.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.179, allocations: 38.95 kB / 447.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.1791, allocations: 27.59 kB / 447.6 MB, free: 41.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.329e-05/0.1791, allocations: 330.3 kB / 447.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.402e-05/0.1792, allocations: 30.95 kB / 448 MB, free: 41.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.721e-05/0.1792, allocations: 48.5 kB / 448 MB, free: 41.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.917e-05/0.1793, allocations: 81.75 kB / 448.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1793, allocations: 4 kB / 448.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001354/0.1794, allocations: 130.5 kB / 448.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1794, allocations: 6.781 kB / 448.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1794, allocations: 3.281 kB / 448.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1794, allocations: 3 kB / 448.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.026e-05/0.1795, allocations: 21.09 kB / 448.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.1795, allocations: 3.328 kB / 448.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.954e-05/0.1795, allocations: 2.625 kB / 448.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.1795, allocations: 9.688 kB / 448.3 MB, free: 41.09 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 (13): * Single equations (assignments): 13 * 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.055e-05/0.1796, allocations: 139.6 kB / 448.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.1796, allocations: 13.66 kB / 448.4 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.1798, allocations: 162.6 kB / 448.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1798, allocations: 2.875 kB / 448.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1798, allocations: 0 / 448.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1798, allocations: 0 / 448.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.1801, allocations: 428.2 kB / 449 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1801, allocations: 6.781 kB / 449 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.794e-05/0.1801, allocations: 21.06 kB / 449 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1801, allocations: 6.781 kB / 449 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.1801, allocations: 2.812 kB / 449 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1801, allocations: 3.938 kB / 449.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1801, allocations: 2.75 kB / 449.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.1803, allocations: 244 kB / 449.3 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.1803, allocations: 13.62 kB / 449.3 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.1803, allocations: 2.844 kB / 449.3 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.068e-05/0.1803, allocations: 10.94 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.1804, allocations: 9.141 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.1804, allocations: 9.625 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.713e-05/0.1805, allocations: 179.2 kB / 449.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1805, allocations: 0 / 449.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001807/0.1806, allocations: 27.88 kB / 449.5 MB, free: 40.21 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 (12): * Single equations (assignments): 10 * 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.001022/0.1817, allocations: 1.222 MB / 450.8 MB, free: 39.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.1818, allocations: 79.08 kB / 450.8 MB, free: 39.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1818, allocations: 0 / 450.8 MB, free: 39.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.68e-05/0.1819, allocations: 41.66 kB / 450.9 MB, free: 39.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.1821, allocations: 28.48 kB / 450.9 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.1832, allocations: 1.871 MB / 452.8 MB, free: 37.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.607e-05/0.1833, allocations: 108.8 kB / 452.9 MB, free: 37.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.682e-05/0.1833, allocations: 23.36 kB / 452.9 MB, free: 37.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.1834, allocations: 47.31 kB / 453 MB, free: 37.75 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1834, allocations: 0 / 453 MB, free: 37.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.1994, allocations: 4.767 MB / 457.7 MB, free: 36.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.227, allocations: 5.688 kB / 457.7 MB, free: 36.29 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.313460930250585]