Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.0007723/0.0007723, 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.0008172/0.0008172, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8747/0.8747, 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.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.2339/0.2339, allocations: 34.24 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.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.411e-05, allocations: 2.281 kB / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.1765/0.1766, allocations: 1.898 MB / 444.1 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1777, allocations: 1.013 MB / 445.2 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1778, allocations: 6.688 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.1781, allocations: 47.64 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.1783, allocations: 103.5 kB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.1785, allocations: 88.61 kB / 445.4 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.1787, allocations: 155.2 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1788, allocations: 21.52 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.373e-05/0.1789, allocations: 74.45 kB / 445.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.345e-05/0.179, allocations: 38.83 kB / 445.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.179, allocations: 8.844 kB / 445.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.47e-05/0.1791, allocations: 51 kB / 445.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.1791, allocations: 30.02 kB / 445.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.1792, allocations: 29.97 kB / 445.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.1794, allocations: 151 kB / 445.9 MB, free: 42.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1794, allocations: 2.688 kB / 446 MB, free: 42.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1794, allocations: 1.75 kB / 446 MB, free: 42.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1794, allocations: 0 / 446 MB, free: 42.83 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.000514/0.1799, allocations: 417.4 kB / 446.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.18, allocations: 8.281 kB / 446.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.765e-05/0.18, allocations: 43.67 kB / 446.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.1801, allocations: 19.25 kB / 446.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.1803, allocations: 162.2 kB / 446.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.1803, allocations: 5.875 kB / 446.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.1803, allocations: 6.312 kB / 446.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.1805, allocations: 156.5 kB / 446.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1805, allocations: 0 / 446.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1805, allocations: 0 / 446.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.1805, allocations: 2.938 kB / 446.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.16e-05/0.1806, allocations: 51.47 kB / 446.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.181, allocations: 473.5 kB / 447.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.1813, allocations: 93.47 kB / 447.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.99e-05/0.1813, allocations: 35.27 kB / 447.4 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.1813, allocations: 0 / 447.4 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.1815, allocations: 108.9 kB / 447.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.61e-07/0.1815, allocations: 0 / 447.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002654/0.1817, allocations: 156 kB / 447.7 MB, free: 41.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.1818, allocations: 54.88 kB / 447.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1819, allocations: 203.3 kB / 447.9 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.1819, allocations: 28.3 kB / 447.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.1819, allocations: 127.8 kB / 448.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.1819, allocations: 33.11 kB / 448.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.182, allocations: 29.25 kB / 448.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.641e-05/0.182, allocations: 330.6 kB / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.953e-05/0.1821, allocations: 35.58 kB / 448.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.856e-05/0.1821, allocations: 64.55 kB / 448.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.707e-05/0.1822, allocations: 102.7 kB / 448.6 MB, free: 40.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1822, allocations: 1.031 kB / 448.6 MB, free: 40.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001448/0.1824, allocations: 135.9 kB / 448.8 MB, free: 40.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1824, allocations: 5.906 kB / 448.8 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1824, allocations: 6.031 kB / 448.8 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1824, allocations: 0 / 448.8 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.237e-05/0.1825, allocations: 33.81 kB / 448.8 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1825, allocations: 0 / 448.8 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.488e-05/0.1825, allocations: 13.77 kB / 448.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.1825, allocations: 9.75 kB / 448.8 MB, free: 40.67 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 6.622e-05/0.1826, allocations: 128.9 kB / 449 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.1826, allocations: 13.41 kB / 449 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.1828, allocations: 138.7 kB / 449.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1828, allocations: 2.688 kB / 449.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1828, allocations: 0 / 449.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1828, allocations: 3.938 kB / 449.1 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.89e-05/0.1829, allocations: 180.6 kB / 449.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1829, allocations: 0 / 449.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.1829, allocations: 16.44 kB / 449.3 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1829, allocations: 2.906 kB / 449.3 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1829, allocations: 3.141 kB / 449.3 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1829, allocations: 0 / 449.3 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1829, allocations: 3.469 kB / 449.3 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.1831, allocations: 198.2 kB / 449.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.1831, allocations: 13.5 kB / 449.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1832, allocations: 1.062 kB / 449.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.926e-05/0.1832, allocations: 13.11 kB / 449.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.1832, allocations: 10.16 kB / 449.6 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.1832, allocations: 6.75 kB / 449.6 MB, free: 40.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.572e-05/0.1833, allocations: 147.6 kB / 449.7 MB, free: 40.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1833, allocations: 0 / 449.7 MB, free: 40.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001704/0.1835, allocations: 30.92 kB / 449.7 MB, free: 40.05 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.0009391/0.1844, allocations: 1.054 MB / 450.8 MB, free: 39.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.1846, allocations: 86.33 kB / 450.9 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1846, allocations: 0 / 450.9 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.2e-05/0.1846, allocations: 33.36 kB / 450.9 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.1849, allocations: 42.36 kB / 450.9 MB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.186, allocations: 1.775 MB / 452.7 MB, free: 37.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.584e-05/0.1861, allocations: 99.42 kB / 452.8 MB, free: 37.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.829e-05/0.1861, allocations: 21.02 kB / 452.8 MB, free: 37.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.1862, allocations: 44.22 kB / 452.9 MB, free: 37.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1862, allocations: 7.938 kB / 452.9 MB, free: 37.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.2059, allocations: 4.692 MB / 457.6 MB, free: 36.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.873/7.079, allocations: 0 / 457.6 MB, free: 36.37 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/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_4.1.0_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: 8.988046581856906]