Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.0008078/0.0008078, allocations: 83.69 kB / 20.67 MB, free: 3.883 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.0007991/0.0007991, allocations: 174 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.9068/0.9068, allocations: 177.1 MB / 204.3 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.2513/0.2513, allocations: 34.25 MB / 294.9 MB, free: 0.7109 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.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.838e-06/3.838e-06, allocations: 4 kB / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.299e-05, allocations: 4.531 kB / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.1812/0.1813, allocations: 1.705 MB / 444 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1824, allocations: 0.9798 MB / 445 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-05/0.1825, allocations: 0 / 445 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.1828, allocations: 35.81 kB / 445 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.183, allocations: 96.78 kB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.1832, allocations: 86.03 kB / 445.2 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.1833, allocations: 105.2 kB / 445.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.388e-05/0.1834, allocations: 10.78 kB / 445.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.1835, allocations: 59.67 kB / 445.3 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.844e-05/0.1836, allocations: 29.81 kB / 445.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1836, allocations: 2.5 kB / 445.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-05/0.1836, allocations: 40.73 kB / 445.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.1837, allocations: 16.45 kB / 445.4 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.1837, allocations: 25.92 kB / 445.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1839, allocations: 117.5 kB / 445.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1839, allocations: 0 / 445.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1839, allocations: 0 / 445.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1839, allocations: 0 / 445.6 MB, free: 43.05 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.0003988/0.1843, allocations: 351.6 kB / 445.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1844, allocations: 10.72 kB / 445.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.57e-05/0.1844, allocations: 34.5 kB / 446 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.1844, allocations: 14 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.1846, allocations: 149 kB / 446.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1846, allocations: 4.812 kB / 446.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.1846, allocations: 3.062 kB / 446.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.1848, allocations: 65.02 kB / 446.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1848, allocations: 0 / 446.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.1848, allocations: 1.062 kB / 446.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1848, allocations: 10.09 kB / 446.2 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.423e-05/0.1848, allocations: 22.16 kB / 446.2 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.1851, allocations: 255.6 kB / 446.5 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.1852, allocations: 58.53 kB / 446.5 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.1853, allocations: 19.73 kB / 446.5 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.1853, allocations: 0 / 446.5 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.1854, allocations: 74.55 kB / 446.6 MB, free: 42.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.021e-06/0.1854, allocations: 6.156 kB / 446.6 MB, free: 42.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004101/0.1858, allocations: 182.9 kB / 446.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.1858, allocations: 55.03 kB / 446.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.1859, allocations: 199.2 kB / 447 MB, free: 41.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.186, allocations: 27.58 kB / 447.1 MB, free: 41.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.186, allocations: 103.4 kB / 447.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.186, allocations: 25.88 kB / 447.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.186, allocations: 29.11 kB / 447.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.191e-05/0.1861, allocations: 325.2 kB / 447.5 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.739e-05/0.1861, allocations: 22.48 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.738e-05/0.1861, allocations: 41.02 kB / 447.6 MB, free: 41.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.812e-05/0.1862, allocations: 61.53 kB / 447.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1862, allocations: 0 / 447.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001067/0.1863, allocations: 107.7 kB / 447.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1863, allocations: 9.812 kB / 447.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1863, allocations: 0 / 447.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1864, allocations: 2.875 kB / 447.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.835e-05/0.1864, allocations: 15.09 kB / 447.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1864, allocations: 2.156 kB / 447.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.012e-05/0.1865, allocations: 8.156 kB / 447.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.1865, allocations: 2.969 kB / 447.8 MB, free: 41.42 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.445e-05/0.1865, allocations: 126.5 kB / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.1865, allocations: 13.95 kB / 448 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.1867, allocations: 126.2 kB / 448.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1867, allocations: 0 / 448.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1867, allocations: 0 / 448.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1867, allocations: 0 / 448.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.187, allocations: 380 kB / 448.4 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.187, allocations: 0 / 448.4 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.187, allocations: 16.36 kB / 448.5 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.187, allocations: 0 / 448.5 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.187, allocations: 10.03 kB / 448.5 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.187, allocations: 4.031 kB / 448.5 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.187, allocations: 3.938 kB / 448.5 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.1871, allocations: 211.7 kB / 448.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.243e-05/0.1871, allocations: 13.78 kB / 448.7 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.1871, allocations: 4.703 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.894e-05/0.1872, allocations: 6.125 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.1872, allocations: 10.47 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.1872, allocations: 2.906 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.387e-05/0.1873, allocations: 156.5 kB / 448.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1873, allocations: 0 / 448.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.1875, allocations: 27.47 kB / 448.9 MB, free: 40.64 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.0009726/0.1884, allocations: 1.132 MB / 450 MB, free: 39.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.1886, allocations: 71.81 kB / 450.1 MB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1886, allocations: 0 / 450.1 MB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.092e-05/0.1886, allocations: 30.92 kB / 450.1 MB, free: 39.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.1889, allocations: 32.73 kB / 450.2 MB, free: 39.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009972/0.1899, allocations: 1.685 MB / 451.9 MB, free: 38.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.242e-05/0.1899, allocations: 92.41 kB / 451.9 MB, free: 38.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.496e-05/0.19, allocations: 24.11 kB / 452 MB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.021e-05/0.19, allocations: 33.55 kB / 452 MB, free: 38.34 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.19, allocations: 2.875 kB / 452 MB, free: 38.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.2076, allocations: 4.275 MB / 456.3 MB, free: 36.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.692/6.899, allocations: 6.281 kB / 456.3 MB, free: 36.95 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.872151697054505]