Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009034/0.0009034, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9332/0.9332, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2737/0.2737, allocations: 34.26 MB / 294.9 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.654e-06/2.654e-06, allocations: 0 / 442.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.606e-05, allocations: 2.281 kB / 442.3 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.1721/0.1721, allocations: 1.786 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1732, allocations: 1.047 MB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.359e-05/0.1733, allocations: 2.812 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.1737, allocations: 309.9 kB / 445.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000353/0.1741, allocations: 267.8 kB / 445.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.1743, allocations: 102.2 kB / 445.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.1745, allocations: 273.1 kB / 446 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.1745, allocations: 7.312 kB / 446 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.1747, allocations: 154.5 kB / 446.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.1748, allocations: 203.4 kB / 446.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.1749, allocations: 9.531 kB / 446.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-05/0.1749, allocations: 47.31 kB / 446.4 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.148e-05/0.175, allocations: 150 kB / 446.6 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.698e-05/0.1751, allocations: 70.66 kB / 446.6 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.1753, allocations: 361.9 kB / 447 MB, free: 42.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1754, allocations: 0 / 447 MB, free: 42.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1754, allocations: 0 / 447 MB, free: 42.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1754, allocations: 0 / 447 MB, free: 42.71 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.0005826/0.1759, allocations: 0.6875 MB / 447.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.176, allocations: 11.06 kB / 447.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.389e-05/0.176, allocations: 37.02 kB / 447.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.469e-05/0.1761, allocations: 50.8 kB / 447.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.1764, allocations: 388.8 kB / 448.2 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1765, allocations: 3.188 kB / 448.2 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.1765, allocations: 6.688 kB / 448.2 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.1766, allocations: 93.34 kB / 448.3 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1766, allocations: 2.469 kB / 448.3 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1766, allocations: 0 / 448.3 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1766, allocations: 2.75 kB / 448.3 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.64e-05/0.1767, allocations: 33.38 kB / 448.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.1769, allocations: 326.8 kB / 448.6 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.1771, allocations: 108 kB / 448.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.445e-05/0.1772, allocations: 44.45 kB / 448.8 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.1772, allocations: 0 / 448.8 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.1773, allocations: 120.8 kB / 448.9 MB, free: 41.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.1773, allocations: 3.312 kB / 448.9 MB, free: 41.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003202/0.1777, allocations: 205.5 kB / 449.1 MB, free: 41.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.1777, allocations: 77.11 kB / 449.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006601/0.1783, allocations: 1.065 MB / 450.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1784, allocations: 29.7 kB / 450.3 MB, free: 40.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/0.1785, allocations: 243.2 kB / 450.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.1785, allocations: 30.55 kB / 450.5 MB, free: 40.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.1785, allocations: 29.28 kB / 450.6 MB, free: 40.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.822e-05/0.1786, allocations: 370.2 kB / 450.9 MB, free: 40.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.595e-05/0.1786, allocations: 36.86 kB / 451 MB, free: 40.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-05/0.1787, allocations: 54.81 kB / 451 MB, free: 40.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.1788, allocations: 93.34 kB / 451.1 MB, free: 40.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1788, allocations: 0 / 451.1 MB, free: 40.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001731/0.179, allocations: 181.4 kB / 451.3 MB, free: 40.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.179, allocations: 5.875 kB / 451.3 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.179, allocations: 6.938 kB / 451.3 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.179, allocations: 0 / 451.3 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.889e-05/0.1791, allocations: 24.3 kB / 451.3 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1791, allocations: 2.688 kB / 451.3 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.291e-05/0.1792, allocations: 20.16 kB / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1792, allocations: 2.938 kB / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001253/0.1793, allocations: 231.8 kB / 451.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.1793, allocations: 57.03 kB / 451.6 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.1796, allocations: 208.7 kB / 451.8 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1796, allocations: 6.938 kB / 451.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1796, allocations: 0 / 451.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1796, allocations: 2.938 kB / 451.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.1797, allocations: 287.3 kB / 452.1 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1797, allocations: 0 / 452.1 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.1798, allocations: 9.094 kB / 452.1 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1798, allocations: 11.23 kB / 452.1 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1798, allocations: 0 / 452.1 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1798, allocations: 2.75 kB / 452.1 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1798, allocations: 0 / 452.1 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.18, allocations: 229.1 kB / 452.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.18, allocations: 72.73 kB / 452.4 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.18, allocations: 2.906 kB / 452.4 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.431e-05/0.1801, allocations: 9.688 kB / 452.4 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.1801, allocations: 12.92 kB / 452.5 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.1801, allocations: 3 kB / 452.5 MB, free: 39.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004652/0.1806, allocations: 0.7893 MB / 453.2 MB, free: 39.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1806, allocations: 2.062 kB / 453.3 MB, free: 39.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001989/0.1808, allocations: 51.11 kB / 453.3 MB, free: 39.15 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001038/0.1818, allocations: 1.098 MB / 454.4 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.182, allocations: 87.7 kB / 454.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.182, allocations: 0 / 454.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.579e-05/0.1821, allocations: 41.86 kB / 454.5 MB, free: 38.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.1824, allocations: 77.77 kB / 454.6 MB, free: 38.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.1861, allocations: 4.633 MB / 459.2 MB, free: 36.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.1862, allocations: 243.7 kB / 459.5 MB, free: 36.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.38e-05/0.1863, allocations: 59.42 kB / 459.5 MB, free: 36.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.1864, allocations: 150.7 kB / 459.7 MB, free: 36 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1864, allocations: 4 kB / 459.7 MB, free: 36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.2079, allocations: 10.13 MB / 469.8 MB, free: 34.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.954/7.162, allocations: 17.72 kB / 469.8 MB, free: 34.01 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.389374722726643]