Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001287/0.001287, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002164/0.002164, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.462/1.462, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.227/0.227, allocations: 46.92 MB / 357.1 MB, free: 10.34 MB / 286.1 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.Test51,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 71.91 kB / 0.491 GB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1704, allocations: 65.99 MB / 0.5555 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.00396/0.1743, allocations: 1.739 MB / 0.5572 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.1765, allocations: 1.034 MB / 0.5582 GB, free: 3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1766, allocations: 3.938 kB / 0.5582 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004184/0.177, allocations: 51.69 kB / 0.5582 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.1774, allocations: 95.59 kB / 0.5583 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.1777, allocations: 83.67 kB / 0.5584 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.1779, allocations: 107.6 kB / 0.5585 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.1781, allocations: 15.98 kB / 0.5585 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1782, allocations: 39.8 kB / 0.5585 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.194e-05/0.1783, allocations: 35.83 kB / 0.5586 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.1783, allocations: 4 kB / 0.5586 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.1784, allocations: 43.98 kB / 0.5586 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.977e-05/0.1785, allocations: 23.86 kB / 0.5586 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/0.1786, allocations: 35.75 kB / 0.5587 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.1789, allocations: 135.3 kB / 0.5588 GB, free: 2.336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1789, allocations: 4 kB / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1789, allocations: 0 / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1789, allocations: 0 / 0.5588 GB, free: 2.332 MB / 414.1 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.0008596/0.1798, allocations: 438.5 kB / 0.5592 GB, free: 1.855 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.1798, allocations: 12.03 kB / 0.5592 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.218e-05/0.1799, allocations: 34.69 kB / 0.5593 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.1799, allocations: 8.891 kB / 0.5593 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.1803, allocations: 220.9 kB / 0.5595 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.1803, allocations: 8.344 kB / 0.5595 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.1804, allocations: 11.94 kB / 0.5595 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1805, allocations: 57.61 kB / 0.5596 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1805, allocations: 0 / 0.5596 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1806, allocations: 0 / 0.5596 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1806, allocations: 0 / 0.5596 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.1807, allocations: 19.98 kB / 0.5596 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.1812, allocations: 296.8 kB / 0.5599 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.1814, allocations: 58.61 kB / 0.5599 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/0.1814, allocations: 20.86 kB / 0.5599 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.1815, allocations: 7.984 kB / 0.56 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.1817, allocations: 63.39 kB / 0.56 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1817, allocations: 0 / 0.56 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007016/0.1824, allocations: 181.3 kB / 0.5602 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/0.1825, allocations: 59.39 kB / 0.5602 GB, free: 0.668 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.1828, allocations: 234 kB / 0.5605 GB, free: 440 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.1828, allocations: 33.7 kB / 0.5605 GB, free: 400 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.1829, allocations: 108.1 kB / 0.5606 GB, free: 288 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.1829, allocations: 19.86 kB / 0.5606 GB, free: 268 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.1829, allocations: 25.7 kB / 0.5606 GB, free: 236 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.1831, allocations: 330.8 kB / 0.561 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.515e-05/0.1832, allocations: 23.94 kB / 0.561 GB, free: 15.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.1833, allocations: 37.64 kB / 0.561 GB, free: 15.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.1834, allocations: 61.69 kB / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1834, allocations: 0 / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002203/0.1836, allocations: 105.5 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1837, allocations: 13.91 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1837, allocations: 0 / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1837, allocations: 0 / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.531e-05/0.1838, allocations: 12 kB / 0.5612 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1838, allocations: 4 kB / 0.5612 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.1838, allocations: 11.86 kB / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1838, allocations: 4 kB / 0.5612 GB, free: 15.61 MB / 430.1 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 0.0001363/0.184, allocations: 134.1 kB / 0.5614 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.184, allocations: 19.89 kB / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.1841, allocations: 17.41 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1841, allocations: 0 / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1841, allocations: 4 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.1841, allocations: 3.938 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.1846, allocations: 399.3 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1846, allocations: 0 / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.1846, allocations: 8 kB / 0.5618 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.1846, allocations: 7.938 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1846, allocations: 4.391 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1846, allocations: 4 kB / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1846, allocations: 0 / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.1849, allocations: 216.5 kB / 0.562 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.185, allocations: 89.02 kB / 0.5621 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.185, allocations: 3.938 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.1851, allocations: 7.984 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.1851, allocations: 8 kB / 0.5621 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.1851, allocations: 4 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.1853, allocations: 180.4 kB / 0.5623 GB, free: 14.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1853, allocations: 0 / 0.5623 GB, free: 14.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1855, allocations: 23.94 kB / 0.5623 GB, free: 14.39 MB / 430.1 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 (8): * Single equations (assignments): 6 * 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.002283/0.1878, allocations: 1.105 MB / 0.5634 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.188, allocations: 47.98 kB / 0.5634 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.188, allocations: 8.062 kB / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.468e-05/0.1881, allocations: 23.92 kB / 0.5635 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.1885, allocations: 35.72 kB / 0.5635 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.1907, allocations: 1.75 MB / 0.5652 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.1911, allocations: 0.7197 MB / 0.5659 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.997e-05/0.1911, allocations: 13.19 kB / 0.5659 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.588e-05/0.1912, allocations: 43.41 kB / 0.566 GB, free: 10.69 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1912, allocations: 0 / 0.566 GB, free: 10.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02691/0.2181, allocations: 3.642 MB / 0.5695 GB, free: 7.109 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.294, allocations: 3.938 kB / 0.5695 GB, free: 7.105 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.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: 11.327572268201038]