Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.001092/0.001092, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.001203/0.001203, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 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.9124/0.9124, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1443/0.1443, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.945e-05, allocations: 10.19 kB / 347.8 MB, free: 9.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.001911/0.00193, allocations: 1.872 MB / 349.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009025/0.002833, allocations: 0.8894 MB / 350.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.238e-05/0.002905, allocations: 0 / 350.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.003264, allocations: 235.2 kB / 350.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.003522, allocations: 167.3 kB / 350.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.00375, allocations: 147.6 kB / 351.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.003932, allocations: 231.3 kB / 351.3 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.711e-05/0.004019, allocations: 13.8 kB / 351.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.004129, allocations: 135.6 kB / 351.4 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.004249, allocations: 151.7 kB / 351.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.00427, allocations: 11.94 kB / 351.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.061e-05/0.004351, allocations: 47.91 kB / 351.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.00441, allocations: 55.78 kB / 351.7 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.004459, allocations: 43.78 kB / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.004635, allocations: 167.3 kB / 351.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004637, allocations: 0 / 351.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004638, allocations: 0 / 351.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.004642, allocations: 7.938 kB / 351.9 MB, free: 5.188 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.0004043/0.005047, allocations: 0.5731 MB / 352.5 MB, free: 4.578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.005078, allocations: 12.03 kB / 352.5 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.005128, allocations: 28.75 kB / 352.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.005303, allocations: 216.6 kB / 352.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.00532, allocations: 8.375 kB / 352.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.005343, allocations: 8.359 kB / 352.7 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.00548, allocations: 102.3 kB / 352.8 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.00549, allocations: 3.938 kB / 352.8 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.005501, allocations: 8 kB / 352.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.005507, allocations: 0 / 352.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.681e-05/0.005554, allocations: 27.91 kB / 352.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.005857, allocations: 494.6 kB / 353.4 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.005985, allocations: 114.2 kB / 353.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.006027, allocations: 35.36 kB / 353.5 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.00604, allocations: 0 / 353.5 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.006147, allocations: 116.3 kB / 353.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 7.71e-07/0.006148, allocations: 0 / 353.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004934/0.006641, allocations: 337.1 kB / 354 MB, free: 2.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.006666, allocations: 81.11 kB / 354 MB, free: 2.855 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.006848, allocations: 390.2 kB / 354.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.649e-06/0.006858, allocations: 29.7 kB / 354.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.006915, allocations: 203.1 kB / 354.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.006946, allocations: 51.62 kB / 354.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.00698, allocations: 39.38 kB / 354.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.702e-05/0.007037, allocations: 0.5235 MB / 355.3 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.534e-05/0.007072, allocations: 28.17 kB / 355.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.691e-05/0.007119, allocations: 77.77 kB / 355.4 MB, free: 1.469 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.098e-05/0.0072, allocations: 98.83 kB / 355.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.007205, allocations: 0 / 355.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001442/0.007349, allocations: 165.3 kB / 355.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.00736, allocations: 4 kB / 355.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.007365, allocations: 4 kB / 355.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.007379, allocations: 4.062 kB / 355.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.607e-05/0.007465, allocations: 35.97 kB / 355.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.00747, allocations: 0 / 355.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.003e-05/0.00751, allocations: 8 kB / 355.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.007519, allocations: 7.984 kB / 355.7 MB, free: 1.125 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.011e-05/0.007579, allocations: 172.5 kB / 355.8 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.007604, allocations: 35.81 kB / 355.9 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.007808, allocations: 184.2 kB / 356.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.007811, allocations: 3.938 kB / 356.1 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.007816, allocations: 8 kB / 356.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.00782, allocations: 0 / 356.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.008202, allocations: 0.6639 MB / 356.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.008205, allocations: 0 / 356.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.008247, allocations: 19.94 kB / 356.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.008251, allocations: 4 kB / 356.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.008264, allocations: 8 kB / 356.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.008268, allocations: 0 / 356.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.008274, allocations: 7.953 kB / 356.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.008555, allocations: 470.2 kB / 357.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.008579, allocations: 23.81 kB / 357.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.008603, allocations: 8 kB / 357.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.008677, allocations: 11.98 kB / 357.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.008725, allocations: 11.92 kB / 357.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.008745, allocations: 11.98 kB / 357.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.00891, allocations: 266.9 kB / 357.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00891, allocations: 0 / 357.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.009151, allocations: 39.98 kB / 357.6 MB, free: 15.1 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.000956/0.01011, allocations: 436.9 kB / 358 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.01028, allocations: 99.52 kB / 358.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01028, allocations: 0 / 358.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.574e-05/0.01034, allocations: 59.03 kB / 358.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.01067, allocations: 65.05 kB / 358.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.01118, allocations: 433.9 kB / 358.7 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.185e-05/0.01124, allocations: 99.95 kB / 358.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.844e-05/0.0113, allocations: 33.59 kB / 358.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.01134, allocations: 24.5 kB / 358.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01134, allocations: 11.88 kB / 358.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of Templates: time 0.004696/0.01604, allocations: 2.941 MB / 361.8 MB, free: 10.97 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.4418363431468606]