Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001448/0.001448, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001571/0.001571, allocations: 164.9 kB / 25.61 MB, free: 8.902 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 1.006/1.006, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.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.1441/0.1441, allocations: 32.8 MB / 295.4 MB, free: 15.39 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 3.984 kB / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.245e-05, allocations: 2.312 kB / 377.4 MB, free: 25.51 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.00309/0.003123, allocations: 1.747 MB / 379.1 MB, free: 23.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.004684, allocations: 0.9935 MB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.942e-05/0.004773, allocations: 0 / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.005059, allocations: 39.7 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.005353, allocations: 99.47 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.005548, allocations: 83.66 kB / 380.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.005712, allocations: 111.6 kB / 380.4 MB, free: 22.42 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.726e-05/0.005789, allocations: 7.984 kB / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.465e-05/0.005884, allocations: 51.84 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.559e-05/0.005959, allocations: 27.91 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.005975, allocations: 4 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.921e-05/0.006064, allocations: 51.84 kB / 380.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.006113, allocations: 15.92 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.006153, allocations: 19.94 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.006339, allocations: 99.66 kB / 380.7 MB, free: 22.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.006342, allocations: 0 / 380.7 MB, free: 22.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.006344, allocations: 0 / 380.7 MB, free: 22.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.006348, allocations: 0 / 380.7 MB, free: 22.15 MB / 314.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.0004467/0.006795, allocations: 451.8 kB / 381.1 MB, free: 21.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.006837, allocations: 15.98 kB / 381.1 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.006879, allocations: 8.891 kB / 381.2 MB, free: 21.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.007027, allocations: 152.4 kB / 381.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.007044, allocations: 384 / 381.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.007061, allocations: 12.33 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.007169, allocations: 58.94 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.00718, allocations: 3.938 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.007188, allocations: 4 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.007195, allocations: 7.984 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.998e-05/0.007225, allocations: 4 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.007455, allocations: 264.4 kB / 381.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.447e-05/0.00755, allocations: 51.16 kB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/0.007573, allocations: 11.69 kB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.007583, allocations: 8 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.802e-05/0.007681, allocations: 64.92 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.007682, allocations: 4 kB / 381.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003382/0.008021, allocations: 129.5 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.008061, allocations: 63.39 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.008164, allocations: 217.1 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.008175, allocations: 29.7 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.008213, allocations: 154.8 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.008237, allocations: 19.84 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.008271, allocations: 27.36 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.045e-05/0.008332, allocations: 0.5001 MB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.008349, allocations: 8 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.143e-05/0.008381, allocations: 39.3 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.238e-05/0.008433, allocations: 47.28 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.008435, allocations: 0 / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001083/0.008543, allocations: 85.53 kB / 383.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.008555, allocations: 10.19 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.008559, allocations: 0 / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.008569, allocations: 4.031 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.879e-05/0.008638, allocations: 19.92 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.008641, allocations: 4 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.008678, allocations: 0 / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.008684, allocations: 4 kB / 383.1 MB, free: 19.49 MB / 314.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 5.632e-05/0.008741, allocations: 163 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.008762, allocations: 15.84 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.008902, allocations: 103.2 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.008906, allocations: 4 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.008908, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.008912, allocations: 4 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.009176, allocations: 365.9 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.009178, allocations: 0 / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.009208, allocations: 16 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.00921, allocations: 0 / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.009218, allocations: 4 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.00922, allocations: 4 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009221, allocations: 3.938 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.009345, allocations: 255.4 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.009357, allocations: 11.94 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.009377, allocations: 12.02 kB / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.147e-05/0.009438, allocations: 4 kB / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.009462, allocations: 7.984 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.009472, allocations: 4 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.106e-05/0.009523, allocations: 164.1 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009523, allocations: 0 / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002456/0.009769, allocations: 23.98 kB / 384.3 MB, free: 18.27 MB / 314.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.0009959/0.01076, allocations: 428.6 kB / 384.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.01087, allocations: 55.55 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01087, allocations: 0 / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.16e-05/0.01092, allocations: 35.59 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.01114, allocations: 32.22 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.01141, allocations: 216.2 kB / 385 MB, free: 17.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.059e-05/0.01145, allocations: 71.2 kB / 385.1 MB, free: 17.56 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.587e-05/0.01148, allocations: 17.09 kB / 385.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.01154, allocations: 90.19 kB / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of SimCode: time 1.533e-06/0.01154, allocations: 0 / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of Templates: time 0.003243/0.01478, allocations: 2.056 MB / 387.3 MB, free: 15.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.3312215227633715]