Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001154/0.001154, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001622/0.002776, 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.0009933/0.0009933, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00146/0.002453, 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.9685/0.9685, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1895/1.158, allocations: 52.49 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.1351/0.1351, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02552/0.1606, allocations: 12.54 MB / 284.5 MB, free: 9.711 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 285.9 MB, free: 8.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.864e-05, allocations: 5.406 kB / 285.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00335/0.003379, allocations: 1.784 MB / 287.7 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.004565, allocations: 0.8844 MB / 288.6 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.326e-05/0.004648, allocations: 0 / 288.6 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.00492, allocations: 43.72 kB / 288.7 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.005101, allocations: 55.58 kB / 288.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.005391, allocations: 119.5 kB / 288.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.005561, allocations: 95.69 kB / 288.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.00565, allocations: 12.17 kB / 288.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.005769, allocations: 75.77 kB / 289 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.811e-05/0.005857, allocations: 27.91 kB / 289 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.005878, allocations: 4 kB / 289 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.794e-05/0.005966, allocations: 43.92 kB / 289.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.006015, allocations: 15.94 kB / 289.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.006047, allocations: 15.94 kB / 289.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.006221, allocations: 103.5 kB / 289.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.404e-05/0.006235, allocations: 0 / 289.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.006237, allocations: 0 / 289.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.006249, allocations: 0 / 289.2 MB, free: 5.023 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.0004923/0.006741, allocations: 327.9 kB / 289.5 MB, free: 4.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.006783, allocations: 8.031 kB / 289.5 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.006825, allocations: 8.922 kB / 289.5 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.007019, allocations: 152.2 kB / 289.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.007036, allocations: 384 / 289.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.007056, allocations: 4.375 kB / 289.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.007177, allocations: 65.7 kB / 289.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.007188, allocations: 3.938 kB / 289.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.007195, allocations: 0 / 289.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.007203, allocations: 0 / 289.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.634e-05/0.007229, allocations: 15.98 kB / 289.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.007435, allocations: 174 kB / 290 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.213e-05/0.007528, allocations: 85.3 kB / 290 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.007545, allocations: 8.859 kB / 290 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.007558, allocations: 3.938 kB / 290.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.636e-05/0.007654, allocations: 70.14 kB / 290.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.007655, allocations: 0 / 290.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002904/0.007946, allocations: 109.5 kB / 290.2 MB, free: 3.902 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.007975, allocations: 55.41 kB / 290.3 MB, free: 3.836 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.008075, allocations: 180.9 kB / 290.5 MB, free: 3.645 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.00809, allocations: 33.64 kB / 290.5 MB, free: 3.605 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.008123, allocations: 92.08 kB / 290.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.00815, allocations: 27.78 kB / 290.6 MB, free: 3.484 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.00818, allocations: 25.7 kB / 290.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.99e-05/0.00826, allocations: 326.8 kB / 291 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.008277, allocations: 10.81 kB / 291 MB, free: 3.113 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.008297, allocations: 21.72 kB / 291 MB, free: 3.086 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/0.008339, allocations: 52.44 kB / 291 MB, free: 3.027 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.00834, allocations: 0 / 291 MB, free: 3.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.552e-05/0.008415, allocations: 80.42 kB / 291.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.008426, allocations: 4.031 kB / 291.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.00843, allocations: 4 kB / 291.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.008442, allocations: 0 / 291.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.863e-05/0.0085, allocations: 16 kB / 291.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.008503, allocations: 0 / 291.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.843e-05/0.008531, allocations: 11.98 kB / 291.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.008536, allocations: 0 / 291.1 MB, free: 2.906 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 5.914e-05/0.008596, allocations: 112.7 kB / 291.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.008614, allocations: 23.86 kB / 291.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.008717, allocations: 67.14 kB / 291.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.00872, allocations: 4 kB / 291.4 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.008722, allocations: 0 / 291.4 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.008727, allocations: 0 / 291.4 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.008937, allocations: 299.8 kB / 291.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.008939, allocations: 0 / 291.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.008967, allocations: 19.94 kB / 291.7 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.008979, allocations: 11.91 kB / 291.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.008981, allocations: 0 / 291.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.008986, allocations: 0 / 291.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.008988, allocations: 3.984 kB / 291.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.00899, allocations: 4 kB / 291.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.009103, allocations: 219 kB / 291.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.009118, allocations: 0 / 291.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.709e-05/0.009155, allocations: 4 kB / 291.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.009178, allocations: 11.98 kB / 291.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.009187, allocations: 0 / 291.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.286e-05/0.00923, allocations: 56.28 kB / 292 MB, free: 2.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00923, allocations: 0 / 292 MB, free: 2.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001429/0.009373, allocations: 23.94 kB / 292 MB, free: 1.996 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.001335/0.01071, allocations: 0.6341 MB / 292.6 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.05e-05/0.0108, allocations: 56.7 kB / 292.7 MB, free: 1.621 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.01081, allocations: 0 / 292.7 MB, free: 1.621 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.866e-05/0.01084, allocations: 36.88 kB / 292.7 MB, free: 1.582 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.01107, allocations: 185.4 kB / 292.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.01152, allocations: 223.1 kB / 293.1 MB, free: 1.129 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.405e-05/0.01156, allocations: 71.33 kB / 293.2 MB, free: 1.039 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.253e-05/0.01159, allocations: 12.5 kB / 293.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.01166, allocations: 71.36 kB / 293.3 MB, free: 0.957 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01166, allocations: 4.094 kB / 293.3 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of Templates: time 0.003546/0.01521, allocations: 2.02 MB / 295.3 MB, free: 14.96 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.9116710098460317]