Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.000907/0.000907, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008273/0.0008273, allocations: 170 kB / 23.95 MB, free: 0.6055 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.8715/0.8715, allocations: 177.1 MB / 204.2 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.2449/0.2449, allocations: 34.25 MB / 294.9 MB, free: 0.7031 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.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.789e-05, allocations: 7.406 kB / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.1771/0.1771, allocations: 1.698 MB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009966/0.1781, allocations: 0.9879 MB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.878e-05/0.1782, allocations: 0 / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.1785, allocations: 77.94 kB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.1787, allocations: 121.5 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.1788, allocations: 74.38 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.179, allocations: 125 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.746e-05/0.1791, allocations: 13.11 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.292e-05/0.1791, allocations: 62.92 kB / 445.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.207e-05/0.1792, allocations: 56.42 kB / 445.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1792, allocations: 5.469 kB / 445.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.637e-05/0.1793, allocations: 47.19 kB / 445.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.794e-05/0.1793, allocations: 23.16 kB / 445.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.1794, allocations: 26.52 kB / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.1795, allocations: 118.1 kB / 445.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1795, allocations: 0 / 445.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1795, allocations: 0 / 445.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1795, allocations: 0 / 445.7 MB, free: 42.93 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.0003593/0.1799, allocations: 360.9 kB / 446 MB, free: 42.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1799, allocations: 8.5 kB / 446 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.15e-05/0.1799, allocations: 33.88 kB / 446.1 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.18, allocations: 11.84 kB / 446.1 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.1802, allocations: 168.5 kB / 446.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1802, allocations: 384 / 446.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.1802, allocations: 4.219 kB / 446.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1803, allocations: 62.84 kB / 446.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1803, allocations: 0 / 446.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1803, allocations: 3.062 kB / 446.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1803, allocations: 0 / 446.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.592e-05/0.1804, allocations: 22.7 kB / 446.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.1806, allocations: 261.7 kB / 446.6 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.1807, allocations: 65.7 kB / 446.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.1807, allocations: 17.81 kB / 446.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.1808, allocations: 2.906 kB / 446.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/0.1809, allocations: 70.05 kB / 446.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.1809, allocations: 0 / 446.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003745/0.1812, allocations: 183 kB / 446.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.1813, allocations: 55.28 kB / 447 MB, free: 41.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.1814, allocations: 221.1 kB / 447.2 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.1814, allocations: 28.33 kB / 447.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.1814, allocations: 110.9 kB / 447.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.1814, allocations: 25.33 kB / 447.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.1815, allocations: 22.89 kB / 447.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.018e-05/0.1815, allocations: 330.5 kB / 447.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.334e-05/0.1815, allocations: 24.34 kB / 447.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.398e-05/0.1816, allocations: 33.39 kB / 447.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.451e-05/0.1816, allocations: 65.34 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1816, allocations: 0 / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001007/0.1817, allocations: 112 kB / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1817, allocations: 9.047 kB / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1817, allocations: 0 / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1817, allocations: 0 / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.304e-05/0.1818, allocations: 13.81 kB / 448 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1818, allocations: 2.156 kB / 448 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.962e-05/0.1818, allocations: 11.25 kB / 448 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.1819, allocations: 2.656 kB / 448 MB, free: 41.3 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.295e-05/0.1819, allocations: 143.3 kB / 448.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.1819, allocations: 13.36 kB / 448.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.1821, allocations: 122.9 kB / 448.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1821, allocations: 2.719 kB / 448.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1821, allocations: 0 / 448.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1821, allocations: 0 / 448.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.1823, allocations: 377.8 kB / 448.6 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1823, allocations: 0 / 448.6 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.1823, allocations: 8.312 kB / 448.6 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1823, allocations: 6.875 kB / 448.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1823, allocations: 6.281 kB / 448.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1823, allocations: 3.781 kB / 448.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1823, allocations: 3.938 kB / 448.7 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.1824, allocations: 219.8 kB / 448.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.1825, allocations: 6.859 kB / 448.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1825, allocations: 2.906 kB / 448.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.808e-05/0.1825, allocations: 6.234 kB / 448.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.1825, allocations: 13.94 kB / 448.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.1826, allocations: 2.875 kB / 448.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.98e-05/0.1826, allocations: 175 kB / 449.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1826, allocations: 0 / 449.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.1828, allocations: 31.58 kB / 449.1 MB, free: 40.49 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.0009286/0.1837, allocations: 1.145 MB / 450.2 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.1839, allocations: 54.34 kB / 450.3 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.1839, allocations: 0 / 450.3 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.1839, allocations: 34.06 kB / 450.3 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.1841, allocations: 30.31 kB / 450.4 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009521/0.1851, allocations: 1.739 MB / 452.1 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.061e-05/0.1851, allocations: 99.12 kB / 452.2 MB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.985e-05/0.1852, allocations: 24.05 kB / 452.2 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.1852, allocations: 37.78 kB / 452.3 MB, free: 38.18 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1852, allocations: 0 / 452.3 MB, free: 38.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.2012, allocations: 4.389 MB / 456.6 MB, free: 36.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.793/6.994, allocations: 12.5 kB / 456.7 MB, free: 36.76 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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: 8.92563779745251]