Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.0007969/0.0007969, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.002994/0.002994, allocations: 160.7 kB / 24.7 MB, free: 9.41 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.8323/0.8323, allocations: 177.1 MB / 205 MB, free: 5.73 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.2165/0.2165, allocations: 34.25 MB / 295.7 MB, free: 0.7148 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 443.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.085e-05, allocations: 2.844 kB / 443.5 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.1537/0.1537, allocations: 1.876 MB / 445.4 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1547, allocations: 1.073 MB / 446.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.076e-05/0.1548, allocations: 3.938 kB / 446.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004341/0.1553, allocations: 260.7 kB / 446.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004008/0.1557, allocations: 234.2 kB / 447 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.1559, allocations: 128.1 kB / 447.1 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.1561, allocations: 279.3 kB / 447.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1562, allocations: 17.92 kB / 447.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1564, allocations: 157.7 kB / 447.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.1565, allocations: 189.4 kB / 447.7 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.1566, allocations: 12.33 kB / 447.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1567, allocations: 68.67 kB / 447.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.119e-05/0.1568, allocations: 67.03 kB / 447.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.1568, allocations: 48.03 kB / 447.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.157, allocations: 253.4 kB / 448.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.157, allocations: 0 / 448.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.157, allocations: 1.656 kB / 448.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.157, allocations: 0 / 448.2 MB, free: 42.64 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000463/0.1575, allocations: 0.5164 MB / 448.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.1575, allocations: 13.22 kB / 448.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.1576, allocations: 38.78 kB / 448.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.1578, allocations: 230.3 kB / 449 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1578, allocations: 7.312 kB / 449 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.1579, allocations: 3.906 kB / 449 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.158, allocations: 120.8 kB / 449.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.158, allocations: 4.875 kB / 449.1 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.158, allocations: 10.28 kB / 449.1 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.158, allocations: 0 / 449.1 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.505e-05/0.1581, allocations: 53.69 kB / 449.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.1584, allocations: 418.1 kB / 449.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.1587, allocations: 121.2 kB / 449.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.1587, allocations: 40.44 kB / 449.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.1587, allocations: 0 / 449.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.1589, allocations: 128.4 kB / 449.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.1589, allocations: 0 / 449.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007177/0.1596, allocations: 0.5242 MB / 450.4 MB, free: 41.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.1596, allocations: 91.23 kB / 450.5 MB, free: 41.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.1599, allocations: 0.4956 MB / 451 MB, free: 40.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1599, allocations: 29.7 kB / 451 MB, free: 40.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.1599, allocations: 175.4 kB / 451.2 MB, free: 40.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.16, allocations: 74.27 kB / 451.2 MB, free: 40.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.16, allocations: 50.27 kB / 451.3 MB, free: 40.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.003e-05/0.16, allocations: 348.5 kB / 451.6 MB, free: 40.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.614e-05/0.1601, allocations: 55.2 kB / 451.7 MB, free: 40.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.242e-05/0.1602, allocations: 98.02 kB / 451.8 MB, free: 40.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1603, allocations: 163.3 kB / 451.9 MB, free: 40.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1603, allocations: 0 / 451.9 MB, free: 40.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002049/0.1605, allocations: 246.8 kB / 452.2 MB, free: 39.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1605, allocations: 11 kB / 452.2 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1605, allocations: 2.844 kB / 452.2 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1606, allocations: 0 / 452.2 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.68e-05/0.1606, allocations: 40.72 kB / 452.2 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1606, allocations: 6.562 kB / 452.2 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/0.1607, allocations: 10.12 kB / 452.2 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1607, allocations: 5.719 kB / 452.2 MB, free: 39.92 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.112e-05/0.1608, allocations: 183.4 kB / 452.4 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.1608, allocations: 43.83 kB / 452.5 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.1611, allocations: 288.5 kB / 452.7 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1611, allocations: 2.875 kB / 452.7 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1611, allocations: 3.938 kB / 452.7 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.1611, allocations: 3.188 kB / 452.8 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.1615, allocations: 0.6807 MB / 453.4 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1615, allocations: 0 / 453.4 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.1616, allocations: 34.66 kB / 453.5 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1616, allocations: 2.719 kB / 453.5 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1616, allocations: 13.19 kB / 453.5 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1616, allocations: 5.031 kB / 453.5 MB, free: 39.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1616, allocations: 3.062 kB / 453.5 MB, free: 39.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.1618, allocations: 439.2 kB / 453.9 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.1618, allocations: 30.86 kB / 453.9 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.1619, allocations: 17.11 kB / 454 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.1619, allocations: 10.78 kB / 454 MB, free: 38.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.162, allocations: 22.55 kB / 454 MB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.162, allocations: 12.25 kB / 454 MB, free: 38.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001824/0.1622, allocations: 383.8 kB / 454.4 MB, free: 38.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1622, allocations: 2.906 kB / 454.4 MB, free: 38.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.1624, allocations: 49.97 kB / 454.4 MB, free: 38.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.00086/0.1633, allocations: 0.5534 MB / 455 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.1635, allocations: 162 kB / 455.1 MB, free: 38.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1635, allocations: 4.125 kB / 455.2 MB, free: 38.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.011e-05/0.1635, allocations: 82.3 kB / 455.2 MB, free: 38.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.1639, allocations: 64.69 kB / 455.3 MB, free: 38.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.1644, allocations: 0.6374 MB / 455.9 MB, free: 37.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.567e-05/0.1645, allocations: 182.6 kB / 456.1 MB, free: 37.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.1646, allocations: 34.69 kB / 456.1 MB, free: 37.86 MB / 410.7 MB Notification: Performance of SimCode: time 5.92e-07/0.1646, allocations: 0 / 456.1 MB, free: 37.86 MB / 410.7 MB Notification: Performance of Templates: time 0.003402/0.168, allocations: 4.005 MB / 460.1 MB, free: 37.34 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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: 4.819660915993154]