Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.00133/0.00133, 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.001485/0.001485, allocations: 162.2 kB / 25.6 MB, free: 8.59 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 0.9305/0.9305, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1577/0.1577, allocations: 34.26 MB / 296.8 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.592e-05, allocations: 2.312 kB / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.008109/0.008134, allocations: 1.747 MB / 381.1 MB, free: 21.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003644/0.01178, allocations: 1.722 MB / 382.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.712e-05/0.01188, allocations: 4 kB / 382.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.01216, allocations: 31.72 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.01245, allocations: 103.5 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.01259, allocations: 91.53 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.01273, allocations: 111.6 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.52e-05/0.01281, allocations: 4 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.779e-05/0.01289, allocations: 63.88 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.877e-05/0.01299, allocations: 35.83 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.01301, allocations: 4 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.01312, allocations: 103.8 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.01316, allocations: 19.92 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.01319, allocations: 19.92 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.01337, allocations: 159.5 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.01337, allocations: 0 / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01337, allocations: 4 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.01338, allocations: 0 / 383.6 MB, free: 19.07 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.0003398/0.01372, allocations: 459.7 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.01375, allocations: 8.031 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.01378, allocations: 8.891 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.01391, allocations: 153 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.01392, allocations: 4.375 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.01393, allocations: 384 / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.01404, allocations: 111.4 kB / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.01405, allocations: 0 / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.01406, allocations: 8 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.01406, allocations: 3.938 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.01409, allocations: 11.92 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.01428, allocations: 260.4 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.58e-05/0.01435, allocations: 55.09 kB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.01437, allocations: 15.67 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.01439, allocations: 3.938 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.977e-05/0.01447, allocations: 65.05 kB / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.01447, allocations: 4 kB / 384.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002939/0.01476, allocations: 137.4 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.01479, allocations: 85.09 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.875e-05/0.01488, allocations: 209.1 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.01489, allocations: 29.7 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.01493, allocations: 142.9 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.01495, allocations: 23.83 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.01498, allocations: 27.38 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.679e-05/0.01504, allocations: 0.5 MB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.01505, allocations: 11.98 kB / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.943e-05/0.01508, allocations: 72.69 kB / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.784e-05/0.01512, allocations: 51.42 kB / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.01512, allocations: 0 / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.167e-05/0.0152, allocations: 81.58 kB / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.01521, allocations: 8 kB / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.01522, allocations: 3.984 kB / 386.1 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.01523, allocations: 0 / 386.1 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.562e-05/0.01528, allocations: 12 kB / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.01529, allocations: 4 kB / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.698e-05/0.01531, allocations: 7.953 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.01532, allocations: 8 kB / 386.1 MB, free: 16.28 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.506e-05/0.01537, allocations: 172.4 kB / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.01539, allocations: 7.953 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.0155, allocations: 98.42 kB / 386.4 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.0155, allocations: 4 kB / 386.4 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.0155, allocations: 0 / 386.4 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01551, allocations: 3.938 kB / 386.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.0157, allocations: 361.6 kB / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.0157, allocations: 0 / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.01573, allocations: 19.91 kB / 386.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01573, allocations: 4 kB / 386.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.01573, allocations: 0 / 386.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01573, allocations: 0 / 386.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01574, allocations: 0 / 386.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.01584, allocations: 255.7 kB / 387 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.01585, allocations: 11.94 kB / 387 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.01587, allocations: 4 kB / 387 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.124e-05/0.01591, allocations: 4 kB / 387.1 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.01593, allocations: 7.984 kB / 387.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.01594, allocations: 8 kB / 387.1 MB, free: 15.26 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.194e-05/0.01598, allocations: 158.4 kB / 387.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01598, allocations: 0 / 387.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.01617, allocations: 51.8 kB / 387.3 MB, free: 15.06 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.001139/0.01731, allocations: 0.5361 MB / 387.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.239e-05/0.0174, allocations: 51.59 kB / 387.9 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.11e-07/0.0174, allocations: 3.938 kB / 387.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.717e-05/0.01743, allocations: 27.62 kB / 387.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.01764, allocations: 43.39 kB / 387.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.01787, allocations: 203.7 kB / 388.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.467e-05/0.01789, allocations: 63.34 kB / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.545e-05/0.01793, allocations: 16.97 kB / 388.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.869e-05/0.018, allocations: 106.1 kB / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.018, allocations: 0 / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of Templates: time 0.003443/0.02144, allocations: 2.804 MB / 391.1 MB, free: 11.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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.1911164233461022]