Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000797/0.000797, allocations: 79.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.0007918/0.0007918, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9117/0.9117, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2531/0.2531, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 439.7 MB, free: 4.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.716e-05, allocations: 3.547 kB / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.001981/0.001998, allocations: 1.788 MB / 441.4 MB, free: 2.367 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.003354, allocations: 1.052 MB / 442.5 MB, free: 1.309 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.003436, allocations: 11.94 kB / 442.5 MB, free: 1.297 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004494/0.003886, allocations: 307.1 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.004262, allocations: 259 kB / 443.1 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.004418, allocations: 107.6 kB / 443.2 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.004658, allocations: 271.2 kB / 443.4 MB, free: 380 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.004701, allocations: 9.75 kB / 443.4 MB, free: 372 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.004842, allocations: 151.6 kB / 443.6 MB, free: 220 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.005005, allocations: 203.6 kB / 443.8 MB, free: 16 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.005024, allocations: 8 kB / 443.8 MB, free: 8 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1719/0.1769, allocations: 49.02 kB / 443.8 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.177, allocations: 146.8 kB / 444 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.919e-05/0.1771, allocations: 69.03 kB / 444.1 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.1774, allocations: 362.7 kB / 444.4 MB, free: 43.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1774, allocations: 3.328 kB / 444.4 MB, free: 43.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1774, allocations: 0 / 444.4 MB, free: 43.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1774, allocations: 0 / 444.4 MB, free: 43.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.0005557/0.178, allocations: 0.6782 MB / 445.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.178, allocations: 7.906 kB / 445.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.466e-05/0.178, allocations: 39.92 kB / 445.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.1781, allocations: 51.45 kB / 445.2 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.1785, allocations: 388.1 kB / 445.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1786, allocations: 10.23 kB / 445.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.1786, allocations: 3.281 kB / 445.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1787, allocations: 90.48 kB / 445.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1787, allocations: 3.281 kB / 445.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1788, allocations: 3.938 kB / 445.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1788, allocations: 2.906 kB / 445.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.529e-05/0.1788, allocations: 32.77 kB / 445.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.1791, allocations: 331.1 kB / 446 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.1793, allocations: 104.7 kB / 446.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.1793, allocations: 44.3 kB / 446.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.1794, allocations: 0 / 446.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/0.1795, allocations: 113.4 kB / 446.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 8.72e-07/0.1795, allocations: 0 / 446.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002894/0.1798, allocations: 220.4 kB / 446.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.1798, allocations: 80.25 kB / 446.6 MB, free: 42.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006052/0.1804, allocations: 1.063 MB / 447.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.1804, allocations: 30.36 kB / 447.7 MB, free: 42.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.1805, allocations: 240.5 kB / 447.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.1805, allocations: 36.33 kB / 447.9 MB, free: 42.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.1806, allocations: 31.36 kB / 448 MB, free: 42.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.1806, allocations: 368.1 kB / 448.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.788e-05/0.1807, allocations: 27.75 kB / 448.4 MB, free: 41.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.995e-05/0.1807, allocations: 60.48 kB / 448.4 MB, free: 41.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.428e-05/0.1808, allocations: 91.95 kB / 448.5 MB, free: 41.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1808, allocations: 3.312 kB / 448.5 MB, free: 41.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001563/0.181, allocations: 178 kB / 448.7 MB, free: 41.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.181, allocations: 9.656 kB / 448.7 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.181, allocations: 2.719 kB / 448.7 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.181, allocations: 0 / 448.7 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/0.1811, allocations: 20.58 kB / 448.7 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1811, allocations: 2.875 kB / 448.7 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.742e-05/0.1812, allocations: 13.97 kB / 448.7 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1812, allocations: 8.094 kB / 448.7 MB, free: 41.82 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.0001147/0.1813, allocations: 224 kB / 449 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.1813, allocations: 58.45 kB / 449 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.1815, allocations: 208.2 kB / 449.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1815, allocations: 1.219 kB / 449.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1815, allocations: 0 / 449.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1815, allocations: 2.781 kB / 449.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.1817, allocations: 301.9 kB / 449.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1817, allocations: 4.062 kB / 449.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.32e-05/0.1817, allocations: 8.781 kB / 449.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1817, allocations: 2.812 kB / 449.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.1817, allocations: 10.25 kB / 449.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1817, allocations: 5.078 kB / 449.6 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1817, allocations: 0 / 449.6 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.1819, allocations: 226.3 kB / 449.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.1819, allocations: 62.11 kB / 449.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.182, allocations: 6.719 kB / 449.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.104e-05/0.182, allocations: 13.94 kB / 449.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.182, allocations: 8.688 kB / 449.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.1821, allocations: 5.656 kB / 449.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004215/0.1825, allocations: 0.7881 MB / 450.7 MB, free: 40.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1825, allocations: 0 / 450.7 MB, free: 40.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001785/0.1827, allocations: 53.23 kB / 450.7 MB, free: 40.98 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.0008883/0.1835, allocations: 1.09 MB / 451.8 MB, free: 40.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.1837, allocations: 85.88 kB / 451.9 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.1837, allocations: 0 / 451.9 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.581e-05/0.1838, allocations: 52.38 kB / 451.9 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.1841, allocations: 74.17 kB / 452 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.1873, allocations: 4.631 MB / 456.6 MB, free: 38.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.1874, allocations: 249.3 kB / 456.9 MB, free: 38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.384e-05/0.1875, allocations: 66.39 kB / 456.9 MB, free: 37.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.1876, allocations: 152.7 kB / 457.1 MB, free: 37.88 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1876, allocations: 0 / 457.1 MB, free: 37.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.2062, allocations: 10.14 MB / 467.2 MB, free: 35.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.274/7.48, allocations: 0 / 467.2 MB, free: 35.89 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.633891633711755]