Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.001066/0.001066, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.002112/0.002112, allocations: 173 kB / 24.25 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9989/0.9989, allocations: 158.6 MB / 186 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1574/0.1574, allocations: 32.38 MB / 270.7 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.906e-05, allocations: 6.25 kB / 347.7 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002291/0.00232, allocations: 1.874 MB / 349.6 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.003325, allocations: 0.8817 MB / 350.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.003438, allocations: 3.938 kB / 350.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.00382, allocations: 159.4 kB / 350.7 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.004144, allocations: 139.4 kB / 350.8 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.004486, allocations: 151.5 kB / 350.9 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.004764, allocations: 219.3 kB / 351.2 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.004874, allocations: 17.8 kB / 351.2 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.005013, allocations: 123.6 kB / 351.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.005138, allocations: 123.7 kB / 351.4 MB, free: 6 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.005161, allocations: 8 kB / 351.4 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.731e-05/0.005248, allocations: 43.97 kB / 351.5 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.194e-05/0.00531, allocations: 47.84 kB / 351.5 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.00537, allocations: 39.78 kB / 351.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.00558, allocations: 159.4 kB / 351.7 MB, free: 5.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.005584, allocations: 7.938 kB / 351.7 MB, free: 5.699 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.005586, allocations: 3.984 kB / 351.7 MB, free: 5.695 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.005591, allocations: 0 / 351.7 MB, free: 5.695 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004766/0.006067, allocations: 0.5537 MB / 352.3 MB, free: 5.105 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.006104, allocations: 8.031 kB / 352.3 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/0.006165, allocations: 24.8 kB / 352.3 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.00637, allocations: 203.6 kB / 352.5 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.006392, allocations: 8.375 kB / 352.5 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.006417, allocations: 8.375 kB / 352.5 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.006588, allocations: 106.2 kB / 352.6 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.0066, allocations: 3.938 kB / 352.6 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.006613, allocations: 4 kB / 352.6 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.006622, allocations: 7.938 kB / 352.6 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.956e-05/0.006672, allocations: 19.97 kB / 352.7 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.007036, allocations: 478.6 kB / 353.1 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.007181, allocations: 110.3 kB / 353.2 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.007224, allocations: 43.3 kB / 353.3 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.007239, allocations: 7.984 kB / 353.3 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.007377, allocations: 112.3 kB / 353.4 MB, free: 3.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.007378, allocations: 0 / 353.4 MB, free: 3.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005329/0.007911, allocations: 321.4 kB / 353.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.007942, allocations: 81.11 kB / 353.8 MB, free: 3.422 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.008109, allocations: 338.3 kB / 354.1 MB, free: 3.074 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.00812, allocations: 29.7 kB / 354.2 MB, free: 3.039 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.008174, allocations: 199.1 kB / 354.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.008211, allocations: 47.64 kB / 354.4 MB, free: 2.793 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.008256, allocations: 35.38 kB / 354.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.746e-05/0.008314, allocations: 0.5157 MB / 354.9 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.07e-05/0.008354, allocations: 35.97 kB / 355 MB, free: 2.188 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.544e-05/0.0084, allocations: 65.83 kB / 355 MB, free: 2.109 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.546e-05/0.008485, allocations: 106.8 kB / 355.1 MB, free: 1.988 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.008486, allocations: 0 / 355.1 MB, free: 1.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001543/0.008641, allocations: 161.4 kB / 355.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.008655, allocations: 4 kB / 355.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.00866, allocations: 4 kB / 355.3 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.008675, allocations: 0 / 355.3 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-05/0.008774, allocations: 35.92 kB / 355.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.008781, allocations: 0 / 355.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.008827, allocations: 8 kB / 355.4 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.008835, allocations: 4 kB / 355.4 MB, free: 1.77 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.732e-05/0.008903, allocations: 176.4 kB / 355.5 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.00893, allocations: 47.75 kB / 355.6 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.009143, allocations: 171.4 kB / 355.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.009146, allocations: 4 kB / 355.7 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.00915, allocations: 0 / 355.7 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.009156, allocations: 3.984 kB / 355.8 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.009525, allocations: 0.6403 MB / 356.4 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.009528, allocations: 4 kB / 356.4 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.009571, allocations: 27.92 kB / 356.4 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.009573, allocations: 0 / 356.4 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.009583, allocations: 8.062 kB / 356.4 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.009585, allocations: 4.312 kB / 356.4 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.009588, allocations: 3.938 kB / 356.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.009778, allocations: 462.1 kB / 356.9 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.009795, allocations: 23.86 kB / 356.9 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.00982, allocations: 4 kB / 356.9 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.088e-05/0.009891, allocations: 11.98 kB / 356.9 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.009943, allocations: 15.92 kB / 356.9 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.009963, allocations: 11.98 kB / 357 MB, free: 76 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001538/0.01012, allocations: 235 kB / 357.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.01012, allocations: 4 kB / 357.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002409/0.01036, allocations: 43.88 kB / 357.2 MB, free: 15.8 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00101/0.01137, allocations: 449.4 kB / 357.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.01156, allocations: 95.56 kB / 357.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.01156, allocations: 0 / 357.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.534e-05/0.01164, allocations: 59.34 kB / 357.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.01201, allocations: 65.12 kB / 357.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/0.01257, allocations: 404.5 kB / 358.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.723e-05/0.01263, allocations: 87.97 kB / 358.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.494e-05/0.01269, allocations: 38.16 kB / 358.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.01274, allocations: 28.5 kB / 358.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of SimCode: time 1.333e-06/0.01274, allocations: 4 kB / 358.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of Templates: time 0.005014/0.01775, allocations: 2.906 MB / 361.3 MB, free: 11.73 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.3561855228617787]