Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001242/0.001242, allocations: 83.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.001415/0.001415, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8794/0.8794, allocations: 177.1 MB / 204.2 MB, free: 5.742 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.2405/0.2405, allocations: 34.24 MB / 294.9 MB, free: 0.6953 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.Test17,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.491e-05, allocations: 4.391 kB / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.1787/0.1787, allocations: 1.71 MB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1798, allocations: 0.9814 MB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.1799, allocations: 0 / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.1801, allocations: 33.81 kB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.1804, allocations: 96.31 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.1805, allocations: 82.64 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.1807, allocations: 106.2 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.627e-05/0.1808, allocations: 13.84 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.575e-05/0.1808, allocations: 56.41 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.047e-05/0.1809, allocations: 26.02 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1809, allocations: 6.859 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.35e-05/0.181, allocations: 40.53 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.1811, allocations: 18.48 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.1811, allocations: 19.94 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.1813, allocations: 118.7 kB / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1813, allocations: 0 / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1813, allocations: 0 / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.1813, allocations: 0 / 445.6 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.000442/0.1817, allocations: 346.3 kB / 445.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.1818, allocations: 11.47 kB / 445.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.801e-05/0.1818, allocations: 34.44 kB / 445.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.1818, allocations: 13.2 kB / 446 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.1821, allocations: 149.9 kB / 446.1 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1821, allocations: 6.844 kB / 446.1 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.1821, allocations: 3.031 kB / 446.1 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1823, allocations: 60.77 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1823, allocations: 0 / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1823, allocations: 3.141 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1823, allocations: 2.75 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.501e-05/0.1823, allocations: 18.61 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.1826, allocations: 258.2 kB / 446.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.1828, allocations: 58.14 kB / 446.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/0.1828, allocations: 19.88 kB / 446.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.1828, allocations: 6.312 kB / 446.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.183, allocations: 69.22 kB / 446.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.183, allocations: 0 / 446.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004431/0.1834, allocations: 183 kB / 446.8 MB, free: 42.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.1834, allocations: 57.94 kB / 446.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.781e-05/0.1835, allocations: 177.9 kB / 447 MB, free: 41.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.1835, allocations: 34.67 kB / 447 MB, free: 41.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.1836, allocations: 95.39 kB / 447.1 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.1836, allocations: 28.73 kB / 447.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.1836, allocations: 30.66 kB / 447.2 MB, free: 41.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.936e-05/0.1837, allocations: 328.2 kB / 447.5 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.985e-05/0.1837, allocations: 22.33 kB / 447.5 MB, free: 41.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.633e-05/0.1837, allocations: 38.11 kB / 447.6 MB, free: 41.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.7e-05/0.1838, allocations: 62.83 kB / 447.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1838, allocations: 0 / 447.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001122/0.1839, allocations: 108.2 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1839, allocations: 2.906 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1839, allocations: 3.531 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1839, allocations: 0 / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.923e-05/0.184, allocations: 21.47 kB / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.184, allocations: 6.094 kB / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.1841, allocations: 4.219 kB / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1841, allocations: 2.906 kB / 447.8 MB, free: 41.32 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.606e-05/0.1841, allocations: 126.8 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.1841, allocations: 10.31 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.1843, allocations: 121.4 kB / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1843, allocations: 2.969 kB / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.1843, allocations: 4.031 kB / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1843, allocations: 0 / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.1846, allocations: 381.2 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1846, allocations: 0 / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.332e-05/0.1846, allocations: 8.906 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.1846, allocations: 3.062 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1846, allocations: 6.375 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.1846, allocations: 0 / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1846, allocations: 6.781 kB / 448.4 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.1847, allocations: 209.7 kB / 448.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.1847, allocations: 17.75 kB / 448.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.1847, allocations: 4 kB / 448.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.1848, allocations: 6.812 kB / 448.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.1848, allocations: 9.969 kB / 448.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.1848, allocations: 6.234 kB / 448.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.572e-05/0.1849, allocations: 145.5 kB / 448.8 MB, free: 40.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1849, allocations: 0 / 448.8 MB, free: 40.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001804/0.1851, allocations: 25.62 kB / 448.9 MB, free: 40.56 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.00103/0.1861, allocations: 1.142 MB / 450 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.1862, allocations: 60.83 kB / 450.1 MB, free: 39.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1862, allocations: 0 / 450.1 MB, free: 39.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.418e-05/0.1863, allocations: 24.08 kB / 450.1 MB, free: 39.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.1865, allocations: 44.48 kB / 450.1 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.1876, allocations: 1.65 MB / 451.8 MB, free: 38.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.458e-05/0.1876, allocations: 93.03 kB / 451.9 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.082e-05/0.1877, allocations: 22.12 kB / 451.9 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.1877, allocations: 36.53 kB / 451.9 MB, free: 38.28 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1877, allocations: 0 / 451.9 MB, free: 38.28 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.2036, allocations: 4.222 MB / 456.1 MB, free: 36.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.707/6.911, allocations: 5.219 kB / 456.1 MB, free: 36.88 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.851927096024156]