Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001291/0.001291, allocations: 82.42 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.001414/0.001414, allocations: 163.4 kB / 23.95 MB, free: 4.168 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.383/1.383, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.1983/0.1983, allocations: 32.81 MB / 293.5 MB, free: 36 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 3.938 kB / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.38e-05, allocations: 6.219 kB / 440.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003/0.003024, allocations: 1.704 MB / 441.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002537/0.005561, allocations: 1.675 MB / 443.6 MB, free: 4.664 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.021e-05/0.005641, allocations: 0 / 443.6 MB, free: 4.664 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.005922, allocations: 39.7 kB / 443.6 MB, free: 4.625 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.006317, allocations: 103.5 kB / 443.7 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.006562, allocations: 75.62 kB / 443.8 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.006774, allocations: 123.6 kB / 443.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.006863, allocations: 8 kB / 443.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.006994, allocations: 63.81 kB / 444 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.007123, allocations: 42.95 kB / 444 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.00715, allocations: 8 kB / 444 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.007368, allocations: 103.8 kB / 444.1 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.007427, allocations: 19.92 kB / 444.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.57e-05/0.007482, allocations: 27.91 kB / 444.2 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.007823, allocations: 183.4 kB / 444.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.007826, allocations: 0 / 444.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007827, allocations: 0 / 444.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.007836, allocations: 7.938 kB / 444.3 MB, free: 3.875 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006344/0.008471, allocations: 365.4 kB / 444.7 MB, free: 3.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.008503, allocations: 15.97 kB / 444.7 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.008558, allocations: 8.891 kB / 444.7 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.008816, allocations: 152.6 kB / 444.9 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.008834, allocations: 4.375 kB / 444.9 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.008859, allocations: 384 / 444.9 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.009068, allocations: 109.6 kB / 445 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.009081, allocations: 7.875 kB / 445 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.009094, allocations: 0 / 445 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.0091, allocations: 8 kB / 445 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.009217, allocations: 31.97 kB / 445 MB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.009604, allocations: 244.5 kB / 445.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.00983, allocations: 70.61 kB / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.161e-05/0.009901, allocations: 32.72 kB / 445.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.009917, allocations: 4 kB / 445.4 MB, free: 2.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.01007, allocations: 75.44 kB / 445.5 MB, free: 2.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.01008, allocations: 0 / 445.5 MB, free: 2.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006475/0.01072, allocations: 217.4 kB / 445.7 MB, free: 2.426 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.01078, allocations: 77.11 kB / 445.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.01098, allocations: 176.9 kB / 445.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.011, allocations: 33.7 kB / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.01106, allocations: 96.14 kB / 446 MB, free: 2.016 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.0111, allocations: 31.73 kB / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.01115, allocations: 25.7 kB / 446.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.01129, allocations: 326.8 kB / 446.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-05/0.01137, allocations: 24 kB / 446.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.01147, allocations: 80.19 kB / 446.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.01167, allocations: 77.64 kB / 446.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01168, allocations: 0 / 446.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002408/0.01192, allocations: 121.5 kB / 446.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.01193, allocations: 4 kB / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.01194, allocations: 0 / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.01195, allocations: 0 / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.01205, allocations: 23.92 kB / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.01206, allocations: 0 / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.537e-05/0.01212, allocations: 12.25 kB / 446.8 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.01213, allocations: 4 kB / 446.8 MB, free: 1.258 MB / 366.1 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 (11): * Single equations (assignments): 11 * 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.0001136/0.01224, allocations: 129.7 kB / 446.9 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.01227, allocations: 15.89 kB / 446.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.01262, allocations: 146.5 kB / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01262, allocations: 0 / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.01263, allocations: 4 kB / 447 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.01263, allocations: 0 / 447 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005398/0.01317, allocations: 382.8 kB / 447.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.01318, allocations: 8.031 kB / 447.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.865e-05/0.01324, allocations: 23.92 kB / 447.5 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01324, allocations: 4 kB / 447.5 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.01325, allocations: 0 / 447.5 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.01325, allocations: 7.938 kB / 447.5 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.01325, allocations: 0 / 447.5 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.01355, allocations: 224.3 kB / 447.7 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.01358, allocations: 11.91 kB / 447.7 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.01361, allocations: 8 kB / 447.7 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.01369, allocations: 3.984 kB / 447.7 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.01374, allocations: 15.98 kB / 447.7 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.01375, allocations: 4 kB / 447.7 MB, free: 216 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.01388, allocations: 139.3 kB / 447.9 MB, free: 76 kB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01388, allocations: 0 / 447.9 MB, free: 76 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003188/0.0142, allocations: 51.86 kB / 447.9 MB, free: 24 kB / 366.1 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 (11): * Single equations (assignments): 9 * 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.1812/0.1954, allocations: 0.5933 MB / 448.5 MB, free: 21.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.1957, allocations: 73.89 kB / 448.6 MB, free: 21.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1957, allocations: 0 / 448.6 MB, free: 21.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1959, allocations: 38.16 kB / 448.6 MB, free: 21.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.1962, allocations: 26.12 kB / 448.6 MB, free: 21.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.1967, allocations: 229.8 kB / 448.9 MB, free: 21.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.531e-05/0.1968, allocations: 91.83 kB / 449 MB, free: 20.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.02e-05/0.1969, allocations: 26.2 kB / 449 MB, free: 20.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.1969, allocations: 23.22 kB / 449 MB, free: 20.94 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1969, allocations: 0 / 449 MB, free: 20.94 MB / 366.1 MB Notification: Performance of Templates: time 0.006607/0.2035, allocations: 2.645 MB / 451.6 MB, free: 20.65 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.512183059006929]