Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001274/0.001274, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001901/0.003174, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001176/0.001176, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009891/0.01107, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.235/1.235, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1113/1.346, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 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.2992/0.2992, allocations: 32.78 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03654/0.3357, allocations: 12.53 MB / 289.3 MB, free: 8.68 MB / 282.7 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.21e-07/9.21e-07, allocations: 0 / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.454e-05, allocations: 2.312 kB / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.00284/0.002864, allocations: 1.803 MB / 292.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.004303, allocations: 1.023 MB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.243e-05/0.004366, allocations: 0 / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.004528, allocations: 40.73 kB / 293.6 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.004726, allocations: 92.47 kB / 293.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.004918, allocations: 83.66 kB / 293.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.005065, allocations: 107.6 kB / 293.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.171e-05/0.005137, allocations: 8.734 kB / 293.8 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.005248, allocations: 83.75 kB / 293.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.005315, allocations: 27.91 kB / 294 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.005328, allocations: 8 kB / 294 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.206e-05/0.0054, allocations: 47.91 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.005435, allocations: 11.94 kB / 294 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.005464, allocations: 15.94 kB / 294 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.005609, allocations: 99.61 kB / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.005622, allocations: 0 / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005623, allocations: 0 / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.005635, allocations: 0 / 294.1 MB, free: 4.758 MB / 282.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.0004554/0.00609, allocations: 336.5 kB / 294.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.006131, allocations: 12.03 kB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.006171, allocations: 16.92 kB / 294.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.006361, allocations: 142.3 kB / 294.6 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.006378, allocations: 4.375 kB / 294.6 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.006398, allocations: 4.375 kB / 294.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.006525, allocations: 61.77 kB / 294.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.006537, allocations: 3.938 kB / 294.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.006547, allocations: 4 kB / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.006554, allocations: 0 / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.806e-05/0.006592, allocations: 15.92 kB / 294.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.006842, allocations: 161.9 kB / 294.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.006955, allocations: 85.3 kB / 295 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.006986, allocations: 16.92 kB / 295 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.006998, allocations: 0 / 295 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.007115, allocations: 70.08 kB / 295.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.007116, allocations: 0 / 295.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003535/0.00747, allocations: 113.7 kB / 295.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.007516, allocations: 55.34 kB / 295.2 MB, free: 3.559 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.007658, allocations: 184.8 kB / 295.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.007686, allocations: 33.7 kB / 295.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.007729, allocations: 92.12 kB / 295.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.007758, allocations: 19.84 kB / 295.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.007804, allocations: 25.7 kB / 295.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.007927, allocations: 322.8 kB / 295.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.007949, allocations: 15 kB / 295.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.517e-05/0.007974, allocations: 21.72 kB / 295.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.537e-05/0.00802, allocations: 52.44 kB / 296 MB, free: 2.754 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.008021, allocations: 0 / 296 MB, free: 2.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.408e-05/0.008095, allocations: 72.45 kB / 296 MB, free: 2.676 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.008107, allocations: 8 kB / 296 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.008111, allocations: 4 kB / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.008119, allocations: 0 / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.008185, allocations: 19.94 kB / 296.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.008189, allocations: 3.984 kB / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.008212, allocations: 0 / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.00822, allocations: 8 kB / 296.1 MB, free: 2.633 MB / 282.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 6.359e-05/0.008284, allocations: 116.6 kB / 296.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.008299, allocations: 15.92 kB / 296.2 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.823e-05/0.008397, allocations: 75.08 kB / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.0084, allocations: 4 kB / 296.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.008402, allocations: 0 / 296.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.008407, allocations: 3.984 kB / 296.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.008627, allocations: 303.5 kB / 296.6 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008628, allocations: 0 / 296.6 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.546e-05/0.008654, allocations: 8 kB / 296.6 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.008665, allocations: 7.953 kB / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.008669, allocations: 4 kB / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.008676, allocations: 3.984 kB / 296.6 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.008677, allocations: 4.031 kB / 296.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.008678, allocations: 0 / 296.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.008784, allocations: 226.9 kB / 296.8 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.008798, allocations: 0 / 296.8 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.514e-05/0.008833, allocations: 4 kB / 296.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.008857, allocations: 7.984 kB / 296.8 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.008867, allocations: 4 kB / 296.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.167e-05/0.008908, allocations: 51.64 kB / 296.9 MB, free: 1.742 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008908, allocations: 0 / 296.9 MB, free: 1.742 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000137/0.009045, allocations: 19.98 kB / 296.9 MB, free: 1.723 MB / 282.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.00136/0.01041, allocations: 0.6451 MB / 297.6 MB, free: 1.434 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.684e-05/0.01049, allocations: 44.72 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.0105, allocations: 8.062 kB / 297.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.709e-05/0.01053, allocations: 20.84 kB / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.01071, allocations: 44.94 kB / 297.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.01115, allocations: 227.7 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.275e-05/0.01119, allocations: 67.34 kB / 298 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.582e-05/0.01122, allocations: 17.27 kB / 298 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.441e-05/0.01129, allocations: 67.36 kB / 298.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01129, allocations: 4.062 kB / 298.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of Templates: time 0.003669/0.01496, allocations: 2.041 MB / 300.1 MB, free: 14.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2878569858148694]