Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0011/0.0011, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001438/0.002538, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001166/0.001166, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001333/0.0025, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.104/1.104, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08691/1.191, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2876/0.2876, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02714/0.3148, allocations: 13.09 MB / 291.3 MB, free: 7.375 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 292.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.843e-05, allocations: 2.312 kB / 292.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002131/0.00215, allocations: 1.887 MB / 294.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.003438, allocations: 1.1 MB / 295.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.364e-05/0.003512, allocations: 0 / 295.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.003859, allocations: 311 kB / 296 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.004203, allocations: 263 kB / 296.3 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.004374, allocations: 107.6 kB / 296.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.004624, allocations: 267.2 kB / 296.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.004671, allocations: 6.469 kB / 296.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.004922, allocations: 224.1 kB / 296.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.005092, allocations: 175.7 kB / 297 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.005113, allocations: 12 kB / 297 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.906e-05/0.005202, allocations: 47.92 kB / 297.1 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.881e-05/0.0053, allocations: 132.1 kB / 297.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.005361, allocations: 55.69 kB / 297.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.005612, allocations: 274.9 kB / 297.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-05/0.005629, allocations: 0 / 297.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.00563, allocations: 0 / 297.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.136e-05/0.005651, allocations: 3.984 kB / 297.5 MB, free: 1.383 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.0007887/0.00644, allocations: 0.7013 MB / 298.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.00648, allocations: 8.625 kB / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.006526, allocations: 28.91 kB / 298.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.006797, allocations: 313.8 kB / 298.6 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.006813, allocations: 384 / 298.6 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.006824, allocations: 4.375 kB / 298.6 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.006958, allocations: 91.44 kB / 298.7 MB, free: 180 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.006966, allocations: 3.938 kB / 298.7 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.006975, allocations: 4 kB / 298.7 MB, free: 172 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.00698, allocations: 0 / 298.7 MB, free: 172 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.451e-05/0.007014, allocations: 21.58 kB / 298.7 MB, free: 148 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.007135, allocations: 118.4 kB / 298.8 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.007253, allocations: 78.78 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.821e-05/0.007281, allocations: 29.69 kB / 298.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.007292, allocations: 0 / 298.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.007415, allocations: 103.8 kB / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 7.21e-07/0.007416, allocations: 0 / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001593/0.007575, allocations: 115.7 kB / 299.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.007614, allocations: 89.05 kB / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005023/0.008116, allocations: 0.6024 MB / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.00813, allocations: 29.7 kB / 299.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.008185, allocations: 149.3 kB / 300 MB, free: 14.72 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.008219, allocations: 27.78 kB / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.008254, allocations: 25.7 kB / 300 MB, free: 14.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.008354, allocations: 370.7 kB / 300.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.008379, allocations: 14.77 kB / 300.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.008413, allocations: 43.41 kB / 300.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.72e-05/0.00848, allocations: 71.83 kB / 300.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.008483, allocations: 0 / 300.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001114/0.008594, allocations: 103.2 kB / 300.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.008615, allocations: 4 kB / 300.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.008621, allocations: 4 kB / 300.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.008632, allocations: 0 / 300.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.93e-05/0.008732, allocations: 35.8 kB / 300.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.008736, allocations: 0 / 300.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.00879, allocations: 15.94 kB / 300.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.0088, allocations: 8.062 kB / 300.7 MB, free: 13.96 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.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 9.907e-05/0.008899, allocations: 121.5 kB / 300.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.008927, allocations: 27.97 kB / 300.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.009086, allocations: 134.1 kB / 301 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.009089, allocations: 0 / 301 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.009094, allocations: 3.938 kB / 301 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.009099, allocations: 0 / 301 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.009247, allocations: 173.7 kB / 301.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.009249, allocations: 0 / 301.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.009281, allocations: 8 kB / 301.2 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.009328, allocations: 63.59 kB / 301.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.00933, allocations: 0 / 301.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.009338, allocations: 3.984 kB / 301.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.009339, allocations: 0 / 301.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.009341, allocations: 7.938 kB / 301.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.009462, allocations: 127.1 kB / 301.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.00949, allocations: 7.984 kB / 301.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.203e-05/0.009532, allocations: 4 kB / 301.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.009569, allocations: 7.984 kB / 301.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.009582, allocations: 7.938 kB / 301.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000219/0.009801, allocations: 339.1 kB / 301.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.009802, allocations: 0 / 301.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001513/0.009953, allocations: 43.94 kB / 301.8 MB, free: 12.84 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.001328/0.01128, allocations: 0.552 MB / 302.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.01139, allocations: 52.77 kB / 302.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.0114, allocations: 8 kB / 302.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.989e-05/0.01144, allocations: 40.91 kB / 302.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.01167, allocations: 92.58 kB / 302.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.01284, allocations: 0.6692 MB / 303.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.968e-05/0.01292, allocations: 128.2 kB / 303.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.759e-05/0.01298, allocations: 46.94 kB / 303.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.01309, allocations: 91.36 kB / 303.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of SimCode: time 9.51e-07/0.01309, allocations: 0 / 303.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of Templates: time 0.006532/0.01962, allocations: 4.365 MB / 307.8 MB, free: 7.133 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.0429706890136003]