Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.0009164/0.0009164, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009894/0.0009894, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9288/0.9288, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.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.2879/0.2879, allocations: 32.81 MB / 294.6 MB, free: 1.254 MB / 266.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test78,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.473e-05, allocations: 5.859 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002004/0.002019, allocations: 1.923 MB / 325.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.003276, allocations: 1.111 MB / 326.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.448e-05/0.00334, allocations: 0 / 326.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.00367, allocations: 259.2 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.003978, allocations: 239 kB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.004127, allocations: 123.5 kB / 327 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.004338, allocations: 275.2 kB / 327.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.513e-05/0.004403, allocations: 22.59 kB / 327.3 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.004533, allocations: 163.5 kB / 327.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.004722, allocations: 167.7 kB / 327.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.004744, allocations: 12 kB / 327.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.882e-05/0.004822, allocations: 59.92 kB / 327.7 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.004882, allocations: 71.7 kB / 327.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.004924, allocations: 43.8 kB / 327.8 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.00511, allocations: 207.1 kB / 328 MB, free: 4.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-06/0.005112, allocations: 0 / 328 MB, free: 4.957 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005112, allocations: 0 / 328 MB, free: 4.957 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.725e-06/0.005115, allocations: 0 / 328 MB, free: 4.957 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004214/0.005536, allocations: 499.9 kB / 328.5 MB, free: 4.445 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.005567, allocations: 16.03 kB / 328.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.005609, allocations: 28.91 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.005794, allocations: 224.1 kB / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.005808, allocations: 8.375 kB / 328.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.005826, allocations: 4.375 kB / 328.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.00595, allocations: 117.7 kB / 328.8 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.005961, allocations: 3.938 kB / 328.8 MB, free: 4.012 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.00597, allocations: 7.984 kB / 328.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.005974, allocations: 0 / 328.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.022e-05/0.006014, allocations: 33.62 kB / 328.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.006265, allocations: 304.9 kB / 329.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.006525, allocations: 186.5 kB / 329.4 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/0.006557, allocations: 33.89 kB / 329.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.006568, allocations: 3.938 kB / 329.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.006674, allocations: 107.8 kB / 329.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 8.82e-07/0.006675, allocations: 0 / 329.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005182/0.007194, allocations: 317.6 kB / 329.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.007228, allocations: 85.09 kB / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.007435, allocations: 357.1 kB / 330.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.007455, allocations: 29.7 kB / 330.3 MB, free: 2.465 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.007506, allocations: 125.5 kB / 330.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.007554, allocations: 75.38 kB / 330.5 MB, free: 2.262 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.0076, allocations: 37.69 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.007694, allocations: 354.7 kB / 330.9 MB, free: 1.863 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.218e-05/0.007726, allocations: 30.81 kB / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.644e-05/0.007772, allocations: 54.03 kB / 330.9 MB, free: 1.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.886e-05/0.007861, allocations: 108 kB / 331 MB, free: 1.652 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.007862, allocations: 0 / 331 MB, free: 1.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001203/0.007982, allocations: 139.1 kB / 331.2 MB, free: 1.508 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.007993, allocations: 8 kB / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.007996, allocations: 0 / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.008009, allocations: 4.062 kB / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.807e-05/0.008087, allocations: 43.92 kB / 331.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.008091, allocations: 4 kB / 331.2 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.227e-05/0.008133, allocations: 15.92 kB / 331.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.008143, allocations: 4 kB / 331.3 MB, free: 1.43 MB / 298.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 (26): * Single equations (assignments): 26 * 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.36e-05/0.008217, allocations: 124.6 kB / 331.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.008242, allocations: 31.97 kB / 331.4 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.008411, allocations: 159.7 kB / 331.6 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.008414, allocations: 4 kB / 331.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.008416, allocations: 0 / 331.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.008421, allocations: 4 kB / 331.6 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.008804, allocations: 0.5633 MB / 332.1 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.008807, allocations: 3.984 kB / 332.1 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.008861, allocations: 28 kB / 332.2 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.008865, allocations: 11.92 kB / 332.2 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.008875, allocations: 7.938 kB / 332.2 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.008877, allocations: 4 kB / 332.2 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008878, allocations: 0 / 332.2 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.009059, allocations: 420.2 kB / 332.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.009085, allocations: 39.69 kB / 332.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.009107, allocations: 7.938 kB / 332.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.009177, allocations: 7.984 kB / 332.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.009207, allocations: 23.91 kB / 332.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.009219, allocations: 4 kB / 332.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002384/0.009458, allocations: 159.6 kB / 332.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009458, allocations: 0 / 332.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001902/0.009648, allocations: 55.92 kB / 332.9 MB, free: 15.7 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 20 * 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.001255/0.0109, allocations: 0.6777 MB / 333.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.01102, allocations: 96.56 kB / 333.7 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.01103, allocations: 4 kB / 333.7 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.474e-05/0.01108, allocations: 60.69 kB / 333.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.01134, allocations: 66.14 kB / 333.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.01181, allocations: 0.5128 MB / 334.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.801e-05/0.01187, allocations: 104.3 kB / 334.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.17e-05/0.01193, allocations: 37.92 kB / 334.5 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/0.01203, allocations: 99.33 kB / 334.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01203, allocations: 0 / 334.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of Templates: time 0.004815/0.01684, allocations: 3.649 MB / 338.2 MB, free: 10.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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: 2.8395254989154637]