Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.00109/0.00109, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001257/0.001257, allocations: 162 kB / 24.83 MB, free: 8.754 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 1.045/1.045, allocations: 158.6 MB / 186.7 MB, free: 2.801 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.1494/0.1494, allocations: 32.37 MB / 271.5 MB, free: 14.53 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 349 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.668e-05, allocations: 2.312 kB / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002393/0.00242, allocations: 1.8 MB / 350.8 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.003592, allocations: 0.8544 MB / 351.6 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.175e-05/0.003684, allocations: 0 / 351.6 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004672/0.004151, allocations: 323 kB / 352 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.00449, allocations: 215.3 kB / 352.2 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.004791, allocations: 135.6 kB / 352.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.005048, allocations: 251.2 kB / 352.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.582e-05/0.005114, allocations: 13.8 kB / 352.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.005266, allocations: 147.6 kB / 352.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.005461, allocations: 199.6 kB / 352.9 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.005487, allocations: 8 kB / 352.9 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.005593, allocations: 47.92 kB / 353 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.005707, allocations: 143.6 kB / 353.1 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.637e-05/0.005763, allocations: 67.67 kB / 353.2 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.006001, allocations: 282.9 kB / 353.4 MB, free: 4.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.006003, allocations: 0 / 353.4 MB, free: 4.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006004, allocations: 0 / 353.4 MB, free: 4.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.006009, allocations: 0 / 353.4 MB, free: 4.625 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006028/0.006612, allocations: 0.7746 MB / 354.2 MB, free: 3.812 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.006646, allocations: 11.97 kB / 354.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.006703, allocations: 60.55 kB / 354.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.006967, allocations: 308.7 kB / 354.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.006996, allocations: 8.375 kB / 354.6 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.007008, allocations: 384 / 354.6 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.007164, allocations: 98.27 kB / 354.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.007177, allocations: 3.938 kB / 354.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.007188, allocations: 0 / 354.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.007196, allocations: 0 / 354.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.607e-05/0.007232, allocations: 19.92 kB / 354.7 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.007488, allocations: 212.8 kB / 354.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.007653, allocations: 106.1 kB / 355 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.007688, allocations: 27.38 kB / 355 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.007707, allocations: 7.984 kB / 355.1 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.007853, allocations: 112.3 kB / 355.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.61e-07/0.007854, allocations: 0 / 355.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002824/0.008137, allocations: 169.2 kB / 355.3 MB, free: 2.555 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.008174, allocations: 77.11 kB / 355.4 MB, free: 2.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004275/0.008602, allocations: 0.6742 MB / 356.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.008619, allocations: 29.7 kB / 356.1 MB, free: 1.734 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.008752, allocations: 314.7 kB / 356.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.00879, allocations: 31.73 kB / 356.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.008825, allocations: 31.36 kB / 356.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.008924, allocations: 0.5703 MB / 357 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.008945, allocations: 8 kB / 357.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.19e-05/0.008977, allocations: 50.73 kB / 357.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.294e-05/0.00905, allocations: 70.66 kB / 357.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.009053, allocations: 3.938 kB / 357.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001438/0.009197, allocations: 149.3 kB / 357.3 MB, free: 464 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.009221, allocations: 7.938 kB / 357.3 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.009227, allocations: 0 / 357.3 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.009239, allocations: 7.938 kB / 357.3 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.234e-05/0.009321, allocations: 19.98 kB / 357.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.009326, allocations: 0.625 kB / 357.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.009384, allocations: 19.89 kB / 357.4 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.009391, allocations: 0 / 357.4 MB, free: 408 kB / 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001043/0.009496, allocations: 180.4 kB / 357.6 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.009535, allocations: 51.67 kB / 357.6 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.009741, allocations: 157.8 kB / 357.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.00975, allocations: 11.88 kB / 357.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.009752, allocations: 0 / 357.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.009758, allocations: 0 / 357.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.009965, allocations: 225 kB / 358 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.009967, allocations: 0 / 358 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.009995, allocations: 12 kB / 358 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.009998, allocations: 0 / 358 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.01001, allocations: 7.984 kB / 358 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01001, allocations: 4 kB / 358 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01001, allocations: 0 / 358 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.01021, allocations: 223.5 kB / 358.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.01027, allocations: 51.66 kB / 358.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.0103, allocations: 0 / 358.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.207e-05/0.01034, allocations: 4 kB / 358.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.01038, allocations: 15.92 kB / 358.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.0104, allocations: 7.984 kB / 358.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002932/0.0107, allocations: 430.7 kB / 358.7 MB, free: 14.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0107, allocations: 0 / 358.7 MB, free: 14.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001963/0.01089, allocations: 47.94 kB / 358.8 MB, free: 14.93 MB / 298.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0008802/0.01177, allocations: 388.2 kB / 359.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.01192, allocations: 67.59 kB / 359.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01192, allocations: 0 / 359.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.928e-05/0.01198, allocations: 43.91 kB / 359.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.0123, allocations: 74.7 kB / 359.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007453/0.01305, allocations: 0.6511 MB / 360 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.603e-05/0.01313, allocations: 124.2 kB / 360.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.739e-05/0.0132, allocations: 46.88 kB / 360.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.01332, allocations: 126.2 kB / 360.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01332, allocations: 0 / 360.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of Templates: time 0.007246/0.02057, allocations: 4.371 MB / 364.7 MB, free: 9.094 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.5280721969902515]