Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.0008478/0.0008478, 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.000895/0.000895, 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.8702/0.8702, allocations: 177 MB / 204.1 MB, free: 5.742 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.2338/0.2338, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 442.2 MB, free: 1.488 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.802e-05, allocations: 4.812 kB / 442.2 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.1761/0.1762, allocations: 1.899 MB / 444.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1772, allocations: 1.007 MB / 445.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.253e-05/0.1773, allocations: 2.969 kB / 445.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.1775, allocations: 42.14 kB / 445.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.1778, allocations: 103.3 kB / 445.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.1779, allocations: 95.23 kB / 445.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.1781, allocations: 153.6 kB / 445.5 MB, free: 42.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.1782, allocations: 22.47 kB / 445.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.252e-05/0.1782, allocations: 81.33 kB / 445.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.86e-05/0.1783, allocations: 36.3 kB / 445.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.1783, allocations: 5.844 kB / 445.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.64e-05/0.1784, allocations: 46.94 kB / 445.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.1785, allocations: 32.22 kB / 445.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/0.1785, allocations: 33.58 kB / 445.8 MB, free: 42.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.1787, allocations: 161.6 kB / 445.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1787, allocations: 0 / 445.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1787, allocations: 0 / 445.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.1787, allocations: 0 / 445.9 MB, free: 42.26 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004159/0.1791, allocations: 411.5 kB / 446.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1792, allocations: 11 kB / 446.4 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.095e-05/0.1792, allocations: 40.19 kB / 446.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.1792, allocations: 19.62 kB / 446.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.1794, allocations: 166.2 kB / 446.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1794, allocations: 9.25 kB / 446.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1795, allocations: 5.375 kB / 446.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.1796, allocations: 137.8 kB / 446.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.1796, allocations: 6.938 kB / 446.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1796, allocations: 9.922 kB / 446.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1796, allocations: 2.938 kB / 446.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.1797, allocations: 52.48 kB / 446.8 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.1801, allocations: 468.8 kB / 447.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.1803, allocations: 89.92 kB / 447.3 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.1803, allocations: 43.25 kB / 447.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.1803, allocations: 2.656 kB / 447.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.1805, allocations: 116.8 kB / 447.5 MB, free: 41.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.1805, allocations: 0 / 447.5 MB, free: 41.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002409/0.1807, allocations: 145.3 kB / 447.6 MB, free: 41.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.1807, allocations: 58.69 kB / 447.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.1808, allocations: 200.8 kB / 447.9 MB, free: 40.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.1808, allocations: 28.7 kB / 447.9 MB, free: 40.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.1809, allocations: 123.5 kB / 448 MB, free: 40.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.1809, allocations: 32.59 kB / 448.1 MB, free: 40.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.1809, allocations: 26 kB / 448.1 MB, free: 40.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.594e-05/0.181, allocations: 331.9 kB / 448.4 MB, free: 40.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.557e-05/0.181, allocations: 28.59 kB / 448.5 MB, free: 40.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-05/0.1811, allocations: 69.64 kB / 448.5 MB, free: 40.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.492e-05/0.1812, allocations: 101.8 kB / 448.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1812, allocations: 0 / 448.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001412/0.1813, allocations: 146 kB / 448.8 MB, free: 40.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1813, allocations: 9.969 kB / 448.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1813, allocations: 0 / 448.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1813, allocations: 2.719 kB / 448.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.301e-05/0.1814, allocations: 23.33 kB / 448.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1814, allocations: 2.906 kB / 448.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.194e-05/0.1814, allocations: 13.45 kB / 448.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-06/0.1815, allocations: 6.266 kB / 448.8 MB, free: 40.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 5.604e-05/0.1815, allocations: 129.8 kB / 448.9 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.1815, allocations: 16.34 kB / 449 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.1817, allocations: 137 kB / 449.1 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.1817, allocations: 2.375 kB / 449.1 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1817, allocations: 3.141 kB / 449.1 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1817, allocations: 0 / 449.1 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.826e-05/0.1818, allocations: 184.5 kB / 449.3 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1818, allocations: 0 / 449.3 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-05/0.1818, allocations: 14.53 kB / 449.3 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1818, allocations: 0 / 449.3 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.1818, allocations: 2.75 kB / 449.3 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1818, allocations: 0 / 449.3 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1818, allocations: 7.938 kB / 449.3 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.182, allocations: 196.2 kB / 449.5 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.182, allocations: 16.47 kB / 449.5 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.1821, allocations: 3.656 kB / 449.5 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.739e-05/0.1821, allocations: 12.92 kB / 449.5 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.1821, allocations: 5.781 kB / 449.5 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.1821, allocations: 5.938 kB / 449.5 MB, free: 39.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.803e-05/0.1822, allocations: 149.5 kB / 449.7 MB, free: 39.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1822, allocations: 64 / 449.7 MB, free: 39.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001513/0.1823, allocations: 31.66 kB / 449.7 MB, free: 39.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008367/0.1832, allocations: 1.05 MB / 450.8 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.1833, allocations: 80.36 kB / 450.8 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1833, allocations: 0 / 450.8 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.386e-05/0.1834, allocations: 42.08 kB / 450.9 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.1836, allocations: 38.89 kB / 450.9 MB, free: 39.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.1847, allocations: 1.773 MB / 452.7 MB, free: 37.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.904e-05/0.1848, allocations: 106.9 kB / 452.8 MB, free: 37.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.792e-05/0.1848, allocations: 20.84 kB / 452.8 MB, free: 37.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.1849, allocations: 43.03 kB / 452.9 MB, free: 37.54 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1849, allocations: 0 / 452.9 MB, free: 37.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.2004, allocations: 4.681 MB / 457.5 MB, free: 36.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/7.19, allocations: 13.08 kB / 457.6 MB, free: 36.09 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.232511358335614]