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.0007802/0.0007802, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001832, 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.00077/0.00077, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009699/0.00174, 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.075/1.075, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1132/1.188, 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.2782/0.2782, allocations: 32.79 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03068/0.3088, allocations: 12.54 MB / 289.3 MB, free: 8.676 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|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.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.524e-05, allocations: 4.531 kB / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.00221/0.002225, allocations: 1.804 MB / 292.5 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.004216, allocations: 1.763 MB / 294.3 MB, free: 4.641 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.673e-05/0.004313, allocations: 7.938 kB / 294.3 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.004531, allocations: 27.8 kB / 294.3 MB, free: 4.605 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.004795, allocations: 103.4 kB / 294.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.004995, allocations: 75.67 kB / 294.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.005182, allocations: 123.6 kB / 294.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.967e-05/0.005282, allocations: 4.75 kB / 294.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.005418, allocations: 91.73 kB / 294.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.005528, allocations: 31.91 kB / 294.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.005548, allocations: 12 kB / 294.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.00574, allocations: 107.8 kB / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.00579, allocations: 23.88 kB / 294.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.005828, allocations: 19.94 kB / 294.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.006061, allocations: 155.5 kB / 295 MB, free: 3.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.837e-05/0.006079, allocations: 0 / 295 MB, free: 3.871 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.00608, allocations: 0 / 295 MB, free: 3.871 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.754e-05/0.006098, allocations: 0 / 295 MB, free: 3.871 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005712/0.006669, allocations: 356.4 kB / 295.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.006709, allocations: 12.03 kB / 295.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.006755, allocations: 8.938 kB / 295.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.006941, allocations: 149.4 kB / 295.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.006963, allocations: 12.36 kB / 295.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.006983, allocations: 4.375 kB / 295.6 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.007141, allocations: 113.1 kB / 295.7 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.007151, allocations: 3.938 kB / 295.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.00716, allocations: 0 / 295.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.007167, allocations: 4 kB / 295.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.735e-05/0.007215, allocations: 14.81 kB / 295.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002415/0.007456, allocations: 173.9 kB / 295.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.007566, allocations: 93.23 kB / 296 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.007591, allocations: 16.84 kB / 296 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.007607, allocations: 4 kB / 296 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.007729, allocations: 74.22 kB / 296.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.00773, allocations: 0 / 296.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003503/0.008081, allocations: 117.5 kB / 296.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.008116, allocations: 55.41 kB / 296.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.008236, allocations: 166.9 kB / 296.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.008252, allocations: 25.7 kB / 296.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.008287, allocations: 92.12 kB / 296.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.008318, allocations: 43.66 kB / 296.5 MB, free: 2.207 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.008351, allocations: 25.64 kB / 296.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.008439, allocations: 322.8 kB / 296.9 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.914e-05/0.008458, allocations: 14.81 kB / 296.9 MB, free: 1.836 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.954e-05/0.008498, allocations: 61.02 kB / 297 MB, free: 1.762 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.798e-05/0.008546, allocations: 47.36 kB / 297 MB, free: 1.707 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.008547, allocations: 0 / 297 MB, free: 1.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.503e-05/0.008622, allocations: 72.38 kB / 297.1 MB, free: 1.629 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.008635, allocations: 12.06 kB / 297.1 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.00864, allocations: 3.938 kB / 297.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.008649, allocations: 0 / 297.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.839e-05/0.008717, allocations: 23.98 kB / 297.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.008722, allocations: 0 / 297.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.00875, allocations: 11.98 kB / 297.1 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.008755, allocations: 0 / 297.1 MB, free: 1.578 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 (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 6.893e-05/0.008824, allocations: 116.7 kB / 297.2 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.008837, allocations: 15.92 kB / 297.3 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.008951, allocations: 92.19 kB / 297.3 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.008953, allocations: 8 kB / 297.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.008956, allocations: 0 / 297.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.008959, allocations: 0 / 297.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.009196, allocations: 303.4 kB / 297.6 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.009198, allocations: 4 kB / 297.7 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.009229, allocations: 12 kB / 297.7 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.009246, allocations: 15.89 kB / 297.7 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.009247, allocations: 0 / 297.7 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.009255, allocations: 4 kB / 297.7 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.009258, allocations: 3.938 kB / 297.7 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.009259, allocations: 4.031 kB / 297.7 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.009373, allocations: 223 kB / 297.9 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.009387, allocations: 0 / 297.9 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.054e-05/0.009428, allocations: 8 kB / 297.9 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.009456, allocations: 7.984 kB / 297.9 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.009467, allocations: 0 / 297.9 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.276e-05/0.009509, allocations: 53.17 kB / 298 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009509, allocations: 0 / 298 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.009686, allocations: 55.73 kB / 298 MB, free: 0.6055 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 (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.001655/0.01134, allocations: 0.7844 MB / 298.8 MB, free: 244 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.01147, allocations: 48.77 kB / 298.9 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.01148, allocations: 4 kB / 298.9 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.522e-05/0.01151, allocations: 28.86 kB / 298.9 MB, free: 156 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.0117, allocations: 45.8 kB / 298.9 MB, free: 112 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.01219, allocations: 227.6 kB / 299.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.524e-05/0.01224, allocations: 67.34 kB / 299.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.62e-05/0.01228, allocations: 20.62 kB / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.749e-05/0.01237, allocations: 79.34 kB / 299.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01237, allocations: 0 / 299.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of Templates: time 0.004661/0.01703, allocations: 2.967 MB / 302.3 MB, free: 12.75 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] 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","",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.21005299128592]