Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.001288/0.001288, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001378/0.001378, allocations: 169 kB / 23.8 MB, free: 0.7734 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.9735/0.9735, 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.1374/0.1374, allocations: 32.38 MB / 270.4 MB, free: 14.69 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.021e-05/4.214e-05, allocations: 2.312 kB / 347.7 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003468/0.00351, allocations: 1.828 MB / 349.6 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.004609, allocations: 0.8622 MB / 350.4 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.839e-05/0.004697, allocations: 4 kB / 350.4 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.005133, allocations: 315.1 kB / 350.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.005477, allocations: 211.2 kB / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.005767, allocations: 139.6 kB / 351.1 MB, free: 6 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.006005, allocations: 251.2 kB / 351.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.006042, allocations: 5.812 kB / 351.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.006168, allocations: 151.6 kB / 351.5 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.006316, allocations: 207.6 kB / 351.7 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.006336, allocations: 4 kB / 351.7 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.503e-05/0.006431, allocations: 47.92 kB / 351.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.223e-05/0.006524, allocations: 143.6 kB / 351.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.539e-05/0.006589, allocations: 75.66 kB / 352 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.006831, allocations: 274.9 kB / 352.2 MB, free: 4.863 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.006835, allocations: 4 kB / 352.2 MB, free: 4.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.006837, allocations: 0 / 352.2 MB, free: 4.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.006845, allocations: 0 / 352.2 MB, free: 4.859 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.0006276/0.007473, allocations: 0.7747 MB / 353 MB, free: 4.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.007505, allocations: 8.031 kB / 353 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.286e-05/0.007578, allocations: 56.56 kB / 353.1 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.007856, allocations: 328.6 kB / 353.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.007877, allocations: 12.31 kB / 353.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.007887, allocations: 384 / 353.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.00804, allocations: 98.28 kB / 353.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.008048, allocations: 3.938 kB / 353.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.008057, allocations: 0 / 353.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.008065, allocations: 4 kB / 353.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.24e-05/0.008108, allocations: 23.91 kB / 353.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.008349, allocations: 312.2 kB / 353.8 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.008486, allocations: 98.22 kB / 353.9 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.008525, allocations: 35.36 kB / 354 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.008537, allocations: 3.938 kB / 354 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/0.00866, allocations: 108.4 kB / 354.1 MB, free: 2.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.008661, allocations: 0 / 354.1 MB, free: 2.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002597/0.008921, allocations: 173.2 kB / 354.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.008947, allocations: 81.11 kB / 354.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.009355, allocations: 0.7018 MB / 355 MB, free: 1.848 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.009368, allocations: 29.7 kB / 355 MB, free: 1.812 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.009474, allocations: 302.8 kB / 355.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.00951, allocations: 31.69 kB / 355.4 MB, free: 1.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.009547, allocations: 35.36 kB / 355.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.009635, allocations: 0.5626 MB / 356 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-05/0.009671, allocations: 11.98 kB / 356 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.226e-05/0.009713, allocations: 54.73 kB / 356 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.383e-05/0.009787, allocations: 83.17 kB / 356.1 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.00979, allocations: 4 kB / 356.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001469/0.009937, allocations: 145.3 kB / 356.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.009948, allocations: 4 kB / 356.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.009954, allocations: 7.922 kB / 356.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.00997, allocations: 4 kB / 356.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.01006, allocations: 19.94 kB / 356.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.01006, allocations: 4 kB / 356.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.365e-05/0.01012, allocations: 19.88 kB / 356.3 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.01012, allocations: 4 kB / 356.3 MB, free: 480 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 6.851e-05/0.01019, allocations: 168.5 kB / 356.5 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.01023, allocations: 51.67 kB / 356.5 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001978/0.01043, allocations: 169.7 kB / 356.7 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01043, allocations: 7.938 kB / 356.7 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.01044, allocations: 0 / 356.7 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01044, allocations: 0 / 356.7 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.0107, allocations: 312.5 kB / 357 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.0107, allocations: 256 / 357 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.01074, allocations: 15.92 kB / 357 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01075, allocations: 4 kB / 357 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.01076, allocations: 8 kB / 357 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.01076, allocations: 3.938 kB / 357.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01076, allocations: 0 / 357.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.01097, allocations: 211.7 kB / 357.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/0.01104, allocations: 59.66 kB / 357.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.01107, allocations: 0 / 357.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.528e-05/0.01112, allocations: 15.92 kB / 357.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.01117, allocations: 7.984 kB / 357.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.01119, allocations: 4 kB / 357.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003696/0.01156, allocations: 482.7 kB / 357.8 MB, free: 14.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.01156, allocations: 7.938 kB / 357.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001979/0.01175, allocations: 43.94 kB / 357.9 MB, free: 14.85 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.0008924/0.01265, allocations: 393.8 kB / 358.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.0128, allocations: 71.59 kB / 358.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0128, allocations: 0 / 358.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.092e-05/0.01285, allocations: 39.61 kB / 358.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.01313, allocations: 78.52 kB / 358.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007519/0.01389, allocations: 0.6589 MB / 359.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.765e-05/0.01396, allocations: 128.2 kB / 359.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.666e-05/0.01404, allocations: 39.45 kB / 359.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.0141, allocations: 40.48 kB / 359.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.0141, allocations: 0 / 359.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of Templates: time 0.007486/0.02159, allocations: 4.24 MB / 363.5 MB, free: 9.219 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.4186580097302794]