Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002227/0.002227, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001669/0.001669, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.367/1.367, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.198/0.198, allocations: 32.8 MB / 293.5 MB, free: 32 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 440.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.542e-05, allocations: 2.281 kB / 440.2 MB, free: 8.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003093/0.003119, allocations: 1.875 MB / 442.1 MB, free: 6.164 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.005225, allocations: 1.075 MB / 443.1 MB, free: 5.086 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.907e-05/0.005324, allocations: 3.938 kB / 443.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005211/0.005845, allocations: 259.2 kB / 443.4 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005032/0.006348, allocations: 239 kB / 443.6 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.00661, allocations: 119.5 kB / 443.7 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.007016, allocations: 279.2 kB / 444 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.007131, allocations: 13.97 kB / 444 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.007384, allocations: 163.6 kB / 444.2 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.007642, allocations: 191.6 kB / 444.4 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.007678, allocations: 11.94 kB / 444.4 MB, free: 3.828 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.007818, allocations: 67.91 kB / 444.5 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.007946, allocations: 71.7 kB / 444.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.023e-05/0.008026, allocations: 47.78 kB / 444.6 MB, free: 3.645 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.008442, allocations: 251 kB / 444.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.008445, allocations: 0 / 444.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.008446, allocations: 0 / 444.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.00845, allocations: 0 / 444.8 MB, free: 3.398 MB / 366.1 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.0007829/0.009233, allocations: 0.5158 MB / 445.3 MB, free: 2.852 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.009267, allocations: 8.031 kB / 445.3 MB, free: 2.844 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.799e-05/0.009345, allocations: 36.7 kB / 445.4 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.009671, allocations: 228 kB / 445.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.009692, allocations: 8.375 kB / 445.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.009723, allocations: 12.3 kB / 445.6 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.009992, allocations: 119.8 kB / 445.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.01001, allocations: 3.938 kB / 445.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.01002, allocations: 8 kB / 445.8 MB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.01003, allocations: 4 kB / 445.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.01018, allocations: 47.95 kB / 445.8 MB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.01084, allocations: 420.4 kB / 446.2 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004103/0.01125, allocations: 125.2 kB / 446.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.01136, allocations: 41.83 kB / 446.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.01138, allocations: 0 / 446.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.01162, allocations: 133.2 kB / 446.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.01162, allocations: 0 / 446.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.00147/0.01309, allocations: 0.5169 MB / 447 MB, free: 1.047 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.01317, allocations: 84.98 kB / 447.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.01373, allocations: 0.5016 MB / 447.6 MB, free: 448 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.01375, allocations: 25.7 kB / 447.6 MB, free: 416 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.0139, allocations: 176.5 kB / 447.8 MB, free: 236 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.002e-05/0.01397, allocations: 79.39 kB / 447.9 MB, free: 156 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.01403, allocations: 41.7 kB / 447.9 MB, free: 108 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1575/0.1715, allocations: 350.8 kB / 448.3 MB, free: 21.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.1717, allocations: 54.06 kB / 448.3 MB, free: 21.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.1719, allocations: 90.95 kB / 448.4 MB, free: 21.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.1722, allocations: 167.9 kB / 448.6 MB, free: 21.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1722, allocations: 1.219 kB / 448.6 MB, free: 21.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004356/0.1726, allocations: 242.5 kB / 448.8 MB, free: 21.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1726, allocations: 5.375 kB / 448.8 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1726, allocations: 1.125 kB / 448.8 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1726, allocations: 2.844 kB / 448.8 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.1728, allocations: 45.98 kB / 448.9 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1728, allocations: 6.094 kB / 448.9 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.69e-05/0.1729, allocations: 11.7 kB / 448.9 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.1729, allocations: 7.641 kB / 448.9 MB, free: 21.2 MB / 366.1 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 0.0001514/0.1731, allocations: 173.2 kB / 449.1 MB, free: 21.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.1731, allocations: 34.8 kB / 449.1 MB, free: 21.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005043/0.1736, allocations: 283.8 kB / 449.4 MB, free: 21.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1736, allocations: 4.734 kB / 449.4 MB, free: 21.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1736, allocations: 8.781 kB / 449.4 MB, free: 21.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.1736, allocations: 1.547 kB / 449.4 MB, free: 21.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008088/0.1744, allocations: 0.687 MB / 450.1 MB, free: 20.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1744, allocations: 1.812 kB / 450.1 MB, free: 20.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.401e-05/0.1745, allocations: 33.33 kB / 450.1 MB, free: 20.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.1745, allocations: 3.844 kB / 450.1 MB, free: 20.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.1746, allocations: 13.69 kB / 450.1 MB, free: 20.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1746, allocations: 3.578 kB / 450.1 MB, free: 20.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1746, allocations: 1.125 kB / 450.1 MB, free: 20.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.175, allocations: 456.5 kB / 450.6 MB, free: 20.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.175, allocations: 35.31 kB / 450.6 MB, free: 20.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.1751, allocations: 8.062 kB / 450.6 MB, free: 20.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.1752, allocations: 12.88 kB / 450.6 MB, free: 20.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.1753, allocations: 26.59 kB / 450.7 MB, free: 20.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.1753, allocations: 8.844 kB / 450.7 MB, free: 20.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000306/0.1756, allocations: 378.5 kB / 451 MB, free: 20.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1756, allocations: 0 / 451 MB, free: 20.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003418/0.176, allocations: 53.64 kB / 451.1 MB, free: 20.11 MB / 366.1 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.001899/0.1779, allocations: 0.5561 MB / 451.6 MB, free: 19.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003614/0.1782, allocations: 150.3 kB / 451.8 MB, free: 19.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1782, allocations: 4.125 kB / 451.8 MB, free: 19.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.1784, allocations: 80 kB / 451.9 MB, free: 19.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.179, allocations: 70 kB / 451.9 MB, free: 19.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008159/0.1798, allocations: 0.6036 MB / 452.5 MB, free: 19.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.1799, allocations: 181.8 kB / 452.7 MB, free: 19.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.819e-05/0.18, allocations: 46.11 kB / 452.8 MB, free: 19.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.1801, allocations: 31.12 kB / 452.8 MB, free: 19.38 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1801, allocations: 0 / 452.8 MB, free: 19.38 MB / 366.1 MB Notification: Performance of Templates: time 0.007217/0.1873, allocations: 3.33 MB / 456.1 MB, free: 18.93 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.574869100004435]