Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.0007821/0.0007821, allocations: 80.34 kB / 20.66 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.0007988/0.0007988, allocations: 160.9 kB / 23.94 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.8473/0.8473, allocations: 177.1 MB / 204.2 MB, free: 5.707 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.2456/0.2456, allocations: 34.24 MB / 294.9 MB, free: 0.6719 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.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 442.3 MB, free: 1.461 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.424e-05, allocations: 8.469 kB / 442.3 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.1705/0.1705, allocations: 1.701 MB / 444 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.172, allocations: 1.674 MB / 445.7 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.845e-05/0.1721, allocations: 0 / 445.7 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.1724, allocations: 38.02 kB / 445.7 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.1727, allocations: 103.5 kB / 445.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.1729, allocations: 79.2 kB / 445.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.173, allocations: 113.5 kB / 446 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.279e-05/0.1731, allocations: 2.906 kB / 446 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.989e-05/0.1732, allocations: 53.5 kB / 446.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.693e-05/0.1733, allocations: 47.23 kB / 446.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.1733, allocations: 6.094 kB / 446.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.1734, allocations: 103.7 kB / 446.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.1735, allocations: 25.45 kB / 446.2 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.1735, allocations: 21.58 kB / 446.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.1737, allocations: 177.1 kB / 446.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1737, allocations: 0 / 446.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1737, allocations: 0 / 446.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.1737, allocations: 0 / 446.4 MB, free: 42.5 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.0003873/0.1741, allocations: 354.8 kB / 446.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1742, allocations: 12.5 kB / 446.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.127e-05/0.1742, allocations: 37.16 kB / 446.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.1742, allocations: 15.66 kB / 446.9 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.1744, allocations: 150.4 kB / 447 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1744, allocations: 7.312 kB / 447 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.1745, allocations: 3.281 kB / 447 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.1746, allocations: 97.52 kB / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1746, allocations: 0 / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1746, allocations: 0 / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1746, allocations: 2.969 kB / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.436e-05/0.1746, allocations: 23.95 kB / 447.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.1749, allocations: 250.7 kB / 447.4 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.175, allocations: 58.22 kB / 447.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.175, allocations: 26.22 kB / 447.5 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.175, allocations: 0 / 447.5 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.1751, allocations: 70.61 kB / 447.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.1751, allocations: 2.875 kB / 447.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004124/0.1756, allocations: 179.5 kB / 447.7 MB, free: 41.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.1756, allocations: 78.3 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.798e-05/0.1757, allocations: 170.2 kB / 447.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.1757, allocations: 28.64 kB / 448 MB, free: 41.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.758e-05/0.1757, allocations: 99.11 kB / 448.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.1757, allocations: 26.16 kB / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.1758, allocations: 30.56 kB / 448.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.793e-05/0.1758, allocations: 325.3 kB / 448.4 MB, free: 40.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.141e-05/0.1758, allocations: 23.2 kB / 448.5 MB, free: 40.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.814e-05/0.1759, allocations: 70.39 kB / 448.5 MB, free: 40.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.844e-05/0.1759, allocations: 61.92 kB / 448.6 MB, free: 40.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1759, allocations: 0 / 448.6 MB, free: 40.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001034/0.176, allocations: 107.3 kB / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1761, allocations: 5.812 kB / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1761, allocations: 2.297 kB / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1761, allocations: 0 / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.409e-05/0.1761, allocations: 17.89 kB / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1761, allocations: 5.156 kB / 448.7 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.365e-05/0.1762, allocations: 6.844 kB / 448.7 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1762, allocations: 4.875 kB / 448.7 MB, free: 40.55 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.137e-05/0.1762, allocations: 129.4 kB / 448.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.1762, allocations: 6.922 kB / 448.9 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.1764, allocations: 120.7 kB / 449 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1764, allocations: 0 / 449 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1764, allocations: 3 kB / 449 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1764, allocations: 4.281 kB / 449 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.1766, allocations: 375.3 kB / 449.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1766, allocations: 2.656 kB / 449.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.1767, allocations: 12.62 kB / 449.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1767, allocations: 0 / 449.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1767, allocations: 6.125 kB / 449.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1767, allocations: 0 / 449.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1767, allocations: 3.938 kB / 449.4 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.1768, allocations: 211.5 kB / 449.6 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.1768, allocations: 10.83 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1768, allocations: 4 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.784e-05/0.1769, allocations: 10.17 kB / 449.6 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.1769, allocations: 10.3 kB / 449.6 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.1769, allocations: 5.875 kB / 449.6 MB, free: 39.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.687e-05/0.177, allocations: 129.9 kB / 449.8 MB, free: 39.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.177, allocations: 0 / 449.8 MB, free: 39.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002012/0.1772, allocations: 62.08 kB / 449.8 MB, free: 39.73 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.001133/0.1783, allocations: 1.228 MB / 451.1 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.1785, allocations: 61.23 kB / 451.1 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1785, allocations: 0 / 451.1 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.25e-05/0.1785, allocations: 28.73 kB / 451.1 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.1787, allocations: 43.8 kB / 451.2 MB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.1798, allocations: 1.603 MB / 452.8 MB, free: 37.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.235e-05/0.1798, allocations: 86.97 kB / 452.9 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.993e-05/0.1799, allocations: 19.94 kB / 452.9 MB, free: 37.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/0.18, allocations: 42.48 kB / 452.9 MB, free: 37.42 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.18, allocations: 0 / 452.9 MB, free: 37.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.1986, allocations: 4.89 MB / 457.8 MB, free: 35.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.281/7.48, allocations: 0 / 457.8 MB, free: 35.85 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.499067932832986]