Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009357/0.0009357, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001271/0.002207, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007064/0.0007064, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009681/0.001675, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9316/0.9316, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1882/1.12, allocations: 52.48 MB / 238.5 MB, free: 7.621 MB / 234.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.1594/0.1594, allocations: 32.81 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02483/0.1842, allocations: 12.54 MB / 284.5 MB, free: 9.703 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 285.9 MB, free: 8.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.738e-05, allocations: 2.312 kB / 285.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002523/0.00255, allocations: 1.792 MB / 287.7 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.003641, allocations: 0.8727 MB / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.513e-05/0.003716, allocations: 0 / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.003941, allocations: 43.69 kB / 288.6 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.004121, allocations: 67.58 kB / 288.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.004415, allocations: 111.5 kB / 288.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.004579, allocations: 91.72 kB / 288.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.37e-05/0.004663, allocations: 12.16 kB / 288.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.004785, allocations: 75.77 kB / 289 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.736e-05/0.004872, allocations: 27.91 kB / 289 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.00489, allocations: 4 kB / 289 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.004995, allocations: 39.94 kB / 289.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.005048, allocations: 15.92 kB / 289.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.00509, allocations: 15.94 kB / 289.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.005271, allocations: 103.6 kB / 289.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.005283, allocations: 0 / 289.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005284, allocations: 0 / 289.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.005294, allocations: 0 / 289.2 MB, free: 5.031 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.0004131/0.005707, allocations: 327.9 kB / 289.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.005739, allocations: 8.031 kB / 289.5 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.005778, allocations: 8.938 kB / 289.5 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.005938, allocations: 148.6 kB / 289.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.005953, allocations: 384 / 289.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.005976, allocations: 8.359 kB / 289.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.006097, allocations: 69.7 kB / 289.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.006107, allocations: 3.938 kB / 289.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.006114, allocations: 0 / 289.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.00612, allocations: 4 kB / 289.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.301e-05/0.006143, allocations: 8 kB / 289.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/0.006419, allocations: 170 kB / 289.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.006523, allocations: 85.28 kB / 290 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/0.006543, allocations: 12.84 kB / 290 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.006555, allocations: 3.938 kB / 290 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.006657, allocations: 70.16 kB / 290.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.006658, allocations: 0 / 290.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003048/0.006963, allocations: 113.5 kB / 290.2 MB, free: 3.906 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.00699, allocations: 55.41 kB / 290.3 MB, free: 3.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.446e-05/0.007084, allocations: 164.3 kB / 290.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.007096, allocations: 25.7 kB / 290.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.007126, allocations: 92.11 kB / 290.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.00715, allocations: 23.8 kB / 290.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.007182, allocations: 29.69 kB / 290.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.007278, allocations: 322.8 kB / 290.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.007298, allocations: 10.83 kB / 290.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/0.007323, allocations: 29.64 kB / 291 MB, free: 3.109 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.845e-05/0.007372, allocations: 44.45 kB / 291 MB, free: 3.059 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.007373, allocations: 0 / 291 MB, free: 3.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.126e-05/0.007465, allocations: 80.42 kB / 291.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.007481, allocations: 8 kB / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.007485, allocations: 0 / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.007498, allocations: 0 / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.007576, allocations: 19.98 kB / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.007581, allocations: 4.031 kB / 291.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.007612, allocations: 4 kB / 291.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.007618, allocations: 0 / 291.1 MB, free: 2.938 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 7.82e-05/0.007696, allocations: 116.7 kB / 291.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.00771, allocations: 15.86 kB / 291.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.007827, allocations: 74.45 kB / 291.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.007829, allocations: 0 / 291.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.007831, allocations: 0 / 291.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.007835, allocations: 0 / 291.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.008075, allocations: 303.4 kB / 291.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.008078, allocations: 384 / 291.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.00811, allocations: 11.94 kB / 291.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.008123, allocations: 11.94 kB / 291.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.008125, allocations: 0 / 291.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.008135, allocations: 11.98 kB / 291.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.008137, allocations: 0 / 291.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008138, allocations: 0 / 291.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.008247, allocations: 215 kB / 291.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.008264, allocations: 4 kB / 291.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.008305, allocations: 4.031 kB / 291.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.00833, allocations: 7.984 kB / 291.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.008343, allocations: 8 kB / 291.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.27e-05/0.008386, allocations: 45.39 kB / 291.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008386, allocations: 0 / 291.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001503/0.008536, allocations: 23.94 kB / 291.9 MB, free: 2.035 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.001443/0.009979, allocations: 0.6497 MB / 292.6 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.01011, allocations: 52.75 kB / 292.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.01012, allocations: 0 / 292.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.482e-05/0.01016, allocations: 36.78 kB / 292.7 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.01042, allocations: 176.7 kB / 292.9 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.01097, allocations: 219.5 kB / 293.1 MB, free: 1.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.464e-05/0.01101, allocations: 67.34 kB / 293.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.353e-05/0.01106, allocations: 12.48 kB / 293.1 MB, free: 1.062 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/0.01113, allocations: 67.36 kB / 293.2 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of SimCode: time 1.663e-06/0.01113, allocations: 0 / 293.2 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of Templates: time 0.003877/0.01501, allocations: 2.028 MB / 295.2 MB, free: 15.01 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9737036917358637]