Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001251/0.001251, allocations: 79.7 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.0009369/0.0009369, allocations: 170 kB / 23.94 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.8678/0.8678, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2341/0.2341, allocations: 34.25 MB / 294.9 MB, free: 0.707 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.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 442.2 MB, free: 1.602 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.169e-05, allocations: 6.281 kB / 442.3 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.1806/0.1806, allocations: 1.78 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1818, allocations: 1.052 MB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.345e-05/0.1819, allocations: 0 / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.1823, allocations: 307.5 kB / 445.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.1826, allocations: 266.1 kB / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.1828, allocations: 106.8 kB / 445.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.183, allocations: 270.8 kB / 446 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.183, allocations: 12.8 kB / 446 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.1832, allocations: 152.4 kB / 446.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.1833, allocations: 209 kB / 446.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.1833, allocations: 5.906 kB / 446.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.1834, allocations: 45.95 kB / 446.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.433e-05/0.1835, allocations: 148.5 kB / 446.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.968e-05/0.1836, allocations: 77.86 kB / 446.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.1838, allocations: 366.7 kB / 447 MB, free: 42.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1838, allocations: 0 / 447 MB, free: 42.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1838, allocations: 0 / 447 MB, free: 42.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1838, allocations: 0 / 447 MB, free: 42.71 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006267/0.1845, allocations: 0.673 MB / 447.7 MB, free: 42.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.1845, allocations: 8.75 kB / 447.7 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.722e-05/0.1845, allocations: 36.97 kB / 447.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.1846, allocations: 50.14 kB / 447.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.1849, allocations: 392.5 kB / 448.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1849, allocations: 3.156 kB / 448.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.185, allocations: 11.59 kB / 448.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.1851, allocations: 90.72 kB / 448.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1851, allocations: 1.156 kB / 448.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.1851, allocations: 0 / 448.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1851, allocations: 0 / 448.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.993e-05/0.1852, allocations: 46.23 kB / 448.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.1854, allocations: 335.2 kB / 448.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.1856, allocations: 103.1 kB / 448.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.1856, allocations: 34.03 kB / 448.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.1856, allocations: 10.78 kB / 448.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.1858, allocations: 109.7 kB / 448.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.1858, allocations: 4 kB / 448.9 MB, free: 41.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002916/0.1861, allocations: 208.4 kB / 449.1 MB, free: 41.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.1861, allocations: 83.44 kB / 449.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006053/0.1867, allocations: 1.059 MB / 450.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.1867, allocations: 25.7 kB / 450.3 MB, free: 40.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.31e-05/0.1868, allocations: 242 kB / 450.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.1868, allocations: 32.59 kB / 450.5 MB, free: 40.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.1869, allocations: 26.22 kB / 450.6 MB, free: 40.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.03e-05/0.1869, allocations: 373.8 kB / 450.9 MB, free: 40.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.242e-05/0.187, allocations: 36.2 kB / 451 MB, free: 40.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.891e-05/0.187, allocations: 58.23 kB / 451 MB, free: 40.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.847e-05/0.1871, allocations: 90.56 kB / 451.1 MB, free: 40.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1871, allocations: 2.875 kB / 451.1 MB, free: 40.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001587/0.1873, allocations: 176.3 kB / 451.3 MB, free: 40.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1873, allocations: 5.906 kB / 451.3 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1873, allocations: 64 / 451.3 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1873, allocations: 4 kB / 451.3 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.1874, allocations: 30.86 kB / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-06/0.1874, allocations: 0 / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.099e-05/0.1875, allocations: 16.02 kB / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-06/0.1875, allocations: 2.969 kB / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.0001265/0.1876, allocations: 229.5 kB / 451.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.1876, allocations: 58.5 kB / 451.6 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.1878, allocations: 206.3 kB / 451.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1879, allocations: 6.938 kB / 451.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1879, allocations: 3.938 kB / 451.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1879, allocations: 2.969 kB / 451.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.188, allocations: 292.7 kB / 452.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.188, allocations: 0 / 452.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.889e-05/0.1881, allocations: 8.156 kB / 452.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1881, allocations: 7.594 kB / 452.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1881, allocations: 7.234 kB / 452.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1881, allocations: 2.562 kB / 452.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1881, allocations: 3.938 kB / 452.1 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.1882, allocations: 221.4 kB / 452.4 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.625e-05/0.1883, allocations: 68.84 kB / 452.4 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.1883, allocations: 6.5 kB / 452.4 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.406e-05/0.1884, allocations: 6.906 kB / 452.4 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.1884, allocations: 12.23 kB / 452.5 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.1884, allocations: 2.875 kB / 452.5 MB, free: 39.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004364/0.1889, allocations: 0.7948 MB / 453.3 MB, free: 39.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1889, allocations: 2.062 kB / 453.3 MB, free: 39.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001794/0.189, allocations: 51.8 kB / 453.3 MB, free: 39.14 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009082/0.19, allocations: 1.091 MB / 454.4 MB, free: 38.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.1901, allocations: 89.89 kB / 454.5 MB, free: 38.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1901, allocations: 0 / 454.5 MB, free: 38.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.795e-05/0.1902, allocations: 44.5 kB / 454.5 MB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.1904, allocations: 72.77 kB / 454.6 MB, free: 38.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.1937, allocations: 4.632 MB / 459.2 MB, free: 36.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.1938, allocations: 246.6 kB / 459.5 MB, free: 36.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.431e-05/0.1939, allocations: 55.77 kB / 459.5 MB, free: 36.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.194, allocations: 152.6 kB / 459.7 MB, free: 35.99 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.194, allocations: 0 / 459.7 MB, free: 35.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.2156, allocations: 10.14 MB / 469.8 MB, free: 34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.877/7.092, allocations: 10.73 kB / 469.8 MB, free: 33.99 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.039472351782024]