Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.0008611/0.0008611, 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.001068/0.001068, 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.9106/0.9106, allocations: 177 MB / 204.1 MB, free: 5.746 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.2502/0.2502, allocations: 34.23 MB / 294.8 MB, free: 0.6953 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.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 3.938 kB / 442.2 MB, free: 1.48 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.093e-05, allocations: 2.281 kB / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.1796/0.1796, allocations: 1.709 MB / 444 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1806, allocations: 0.9787 MB / 444.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.761e-05/0.1807, allocations: 0 / 444.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.181, allocations: 45.03 kB / 445 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.1813, allocations: 107.4 kB / 445.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.1815, allocations: 70.61 kB / 445.1 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.1816, allocations: 113.8 kB / 445.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1817, allocations: 9.406 kB / 445.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.467e-05/0.1818, allocations: 52.92 kB / 445.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.62e-05/0.1818, allocations: 29.3 kB / 445.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1819, allocations: 3.125 kB / 445.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.533e-05/0.1819, allocations: 45.14 kB / 445.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.182, allocations: 31.39 kB / 445.4 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.182, allocations: 25.03 kB / 445.5 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.1822, allocations: 127.2 kB / 445.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1822, allocations: 0 / 445.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1822, allocations: 2.562 kB / 445.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1822, allocations: 0 / 445.6 MB, free: 42.77 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.0003861/0.1826, allocations: 353.4 kB / 445.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1826, allocations: 8.156 kB / 445.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.212e-05/0.1826, allocations: 40.72 kB / 446 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.1827, allocations: 14.09 kB / 446 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.1829, allocations: 161.9 kB / 446.1 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1829, allocations: 4.062 kB / 446.1 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.1829, allocations: 3.688 kB / 446.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.183, allocations: 58.77 kB / 446.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.183, allocations: 192 / 446.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.183, allocations: 4.734 kB / 446.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.183, allocations: 3.312 kB / 446.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.983e-05/0.1831, allocations: 21.84 kB / 446.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.1834, allocations: 261.3 kB / 446.5 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.1835, allocations: 62.3 kB / 446.6 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/0.1835, allocations: 24.83 kB / 446.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.1835, allocations: 0 / 446.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.1836, allocations: 67.52 kB / 446.6 MB, free: 41.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.1836, allocations: 4 kB / 446.6 MB, free: 41.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003964/0.184, allocations: 189.8 kB / 446.8 MB, free: 41.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.1841, allocations: 51.41 kB / 446.9 MB, free: 41.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.1842, allocations: 242.4 kB / 447.1 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.1842, allocations: 28.89 kB / 447.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.1842, allocations: 107.7 kB / 447.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.1843, allocations: 26.69 kB / 447.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.1843, allocations: 28.55 kB / 447.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.137e-05/0.1843, allocations: 323.7 kB / 447.6 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.621e-05/0.1843, allocations: 32.31 kB / 447.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.814e-05/0.1844, allocations: 35.34 kB / 447.7 MB, free: 41.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.791e-05/0.1845, allocations: 67 kB / 447.8 MB, free: 41.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1845, allocations: 0.8438 kB / 447.8 MB, free: 41.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000106/0.1846, allocations: 110 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1846, allocations: 5.594 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1846, allocations: 0 / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1846, allocations: 2.844 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.1847, allocations: 14.81 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1847, allocations: 6.938 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.1847, allocations: 2.75 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.1847, allocations: 2.969 kB / 447.9 MB, free: 41.12 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.911e-05/0.1848, allocations: 143.3 kB / 448 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.1848, allocations: 9.703 kB / 448 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.1849, allocations: 130.8 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1849, allocations: 2.906 kB / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1849, allocations: 0 / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1849, allocations: 0 / 448.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.1852, allocations: 377.1 kB / 448.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1852, allocations: 2.906 kB / 448.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.1852, allocations: 12.02 kB / 448.6 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1852, allocations: 0 / 448.6 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.1852, allocations: 5.625 kB / 448.6 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1852, allocations: 0 / 448.6 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1852, allocations: 0 / 448.6 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.1854, allocations: 219 kB / 448.8 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.1854, allocations: 10.78 kB / 448.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1854, allocations: 7.031 kB / 448.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.086e-05/0.1854, allocations: 10.23 kB / 448.8 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.1855, allocations: 10.17 kB / 448.8 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.1855, allocations: 6.656 kB / 448.8 MB, free: 40.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.783e-05/0.1855, allocations: 177.1 kB / 449 MB, free: 40.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1855, allocations: 0 / 449 MB, free: 40.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001776/0.1857, allocations: 28.19 kB / 449 MB, free: 40.32 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.0009232/0.1866, allocations: 1.141 MB / 450.2 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.1868, allocations: 60 kB / 450.2 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1868, allocations: 0 / 450.2 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.124e-05/0.1868, allocations: 27.59 kB / 450.3 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.1871, allocations: 35.75 kB / 450.3 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1881, allocations: 1.765 MB / 452.1 MB, free: 38.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.384e-05/0.1882, allocations: 101 kB / 452.1 MB, free: 38.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.065e-05/0.1882, allocations: 12.84 kB / 452.2 MB, free: 38.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.1882, allocations: 48.25 kB / 452.2 MB, free: 37.98 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1882, allocations: 0 / 452.2 MB, free: 37.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.2053, allocations: 4.436 MB / 456.6 MB, free: 36.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.911/7.116, allocations: 14.64 kB / 456.7 MB, free: 36.55 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.236026955768466]