Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001104/0.001104, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001793/0.002897, 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.00108/0.00108, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001896/0.002976, 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.8848/0.8848, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1746/1.059, allocations: 52.49 MB / 238.5 MB, free: 7.605 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.1371/0.1371, allocations: 32.8 MB / 272 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02134/0.1584, allocations: 12.54 MB / 284.5 MB, free: 9.699 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 285.9 MB, free: 8.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.578e-05, allocations: 5.406 kB / 285.9 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002124/0.00214, allocations: 1.795 MB / 287.7 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.003321, allocations: 0.8727 MB / 288.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.702e-05/0.003388, allocations: 3.938 kB / 288.6 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.003573, allocations: 39.78 kB / 288.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.003729, allocations: 63.58 kB / 288.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.003968, allocations: 111.5 kB / 288.8 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.004123, allocations: 99.69 kB / 288.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.394e-05/0.004196, allocations: 8.172 kB / 288.9 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.004322, allocations: 79.77 kB / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/0.004394, allocations: 23.91 kB / 289 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.004411, allocations: 4 kB / 289 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.634e-05/0.004497, allocations: 47.92 kB / 289.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.004543, allocations: 15.94 kB / 289.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.004574, allocations: 15.94 kB / 289.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.004748, allocations: 103.5 kB / 289.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.004757, allocations: 0 / 289.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004757, allocations: 0 / 289.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.004765, allocations: 0 / 289.2 MB, free: 5.012 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.0004016/0.005166, allocations: 327.9 kB / 289.5 MB, free: 4.668 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.005196, allocations: 12.03 kB / 289.5 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.00523, allocations: 8.922 kB / 289.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.005379, allocations: 144.2 kB / 289.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.005394, allocations: 8.375 kB / 289.7 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.005411, allocations: 384 / 289.7 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.005515, allocations: 65.7 kB / 289.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.005524, allocations: 7.938 kB / 289.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.005533, allocations: 4 kB / 289.8 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.005537, allocations: 0 / 289.8 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.675e-05/0.005564, allocations: 11.98 kB / 289.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.00577, allocations: 165.9 kB / 290 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.689e-05/0.005867, allocations: 97.28 kB / 290 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.299e-05/0.00589, allocations: 12.86 kB / 290.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.005899, allocations: 0 / 290.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.955e-05/0.005989, allocations: 62.16 kB / 290.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.00599, allocations: 0 / 290.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002878/0.006277, allocations: 113.5 kB / 290.2 MB, free: 3.887 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.006304, allocations: 51.41 kB / 290.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.00642, allocations: 180.9 kB / 290.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.006436, allocations: 29.7 kB / 290.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.00647, allocations: 96.02 kB / 290.6 MB, free: 3.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.0065, allocations: 35.77 kB / 290.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.006539, allocations: 21.72 kB / 290.6 MB, free: 3.438 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.006622, allocations: 322.8 kB / 291 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.006641, allocations: 14.81 kB / 291 MB, free: 3.098 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.006672, allocations: 25.66 kB / 291 MB, free: 3.066 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.733e-05/0.006719, allocations: 40.5 kB / 291 MB, free: 3.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.00672, allocations: 0 / 291 MB, free: 3.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.827e-05/0.006809, allocations: 80.42 kB / 291.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.006821, allocations: 8.031 kB / 291.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.006825, allocations: 4 kB / 291.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.006833, allocations: 0 / 291.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.958e-05/0.006903, allocations: 20 kB / 291.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.006906, allocations: 0 / 291.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/0.006937, allocations: 3.984 kB / 291.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.006943, allocations: 4 kB / 291.1 MB, free: 2.895 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 6.538e-05/0.007009, allocations: 120.6 kB / 291.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.007024, allocations: 11.92 kB / 291.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.007127, allocations: 71.14 kB / 291.3 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.00713, allocations: 8 kB / 291.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.007131, allocations: 384 / 291.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.007135, allocations: 0 / 291.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.007365, allocations: 291.4 kB / 291.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.00737, allocations: 8 kB / 291.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.007404, allocations: 11.94 kB / 291.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.007417, allocations: 11.91 kB / 291.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.007418, allocations: 0 / 291.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.007427, allocations: 8 kB / 291.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.007429, allocations: 3.984 kB / 291.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.00743, allocations: 4.031 kB / 291.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.007553, allocations: 211 kB / 291.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.007573, allocations: 8 kB / 291.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.556e-05/0.007629, allocations: 0 / 291.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.007654, allocations: 7.984 kB / 291.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.007667, allocations: 4 kB / 291.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.982e-05/0.007717, allocations: 48.34 kB / 292 MB, free: 2.016 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007717, allocations: 7.938 kB / 292 MB, free: 2.008 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.007922, allocations: 23.94 kB / 292 MB, free: 1.984 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.001875/0.009797, allocations: 0.6384 MB / 292.6 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.737e-05/0.009894, allocations: 48.7 kB / 292.7 MB, free: 1.613 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.009903, allocations: 4 kB / 292.7 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.554e-05/0.009949, allocations: 36.88 kB / 292.7 MB, free: 1.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.01023, allocations: 189.7 kB / 292.9 MB, free: 1.359 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/0.0107, allocations: 219.1 kB / 293.1 MB, free: 1.113 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.523e-05/0.01075, allocations: 67.33 kB / 293.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.133e-05/0.01079, allocations: 16.5 kB / 293.2 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.01086, allocations: 67.39 kB / 293.3 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01086, allocations: 8 kB / 293.3 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of Templates: time 0.00399/0.01485, allocations: 2.019 MB / 295.3 MB, free: 14.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.8005915777757764]