Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009978/0.0009978, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001026/0.001026, allocations: 161.7 kB / 24.99 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.95/0.95, allocations: 177 MB / 205.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2513/0.2513, allocations: 34.86 MB / 296.6 MB, free: 0.5586 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 378.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.591e-05, allocations: 3.438 kB / 378.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002872/0.002898, allocations: 1.849 MB / 380.7 MB, free: 492 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.004517, allocations: 1.091 MB / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.004625, allocations: 0 / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005209/0.005146, allocations: 307 kB / 382.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007517/0.005898, allocations: 263 kB / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.006163, allocations: 111.6 kB / 382.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.006511, allocations: 267.2 kB / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.514e-05/0.006566, allocations: 17.73 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.006778, allocations: 147.7 kB / 382.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.007024, allocations: 207.6 kB / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.007049, allocations: 8 kB / 383.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.007168, allocations: 39.94 kB / 383.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.007308, allocations: 147.5 kB / 383.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.384e-05/0.007402, allocations: 75.66 kB / 383.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.007796, allocations: 282.9 kB / 383.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.0078, allocations: 0 / 383.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.007802, allocations: 4 kB / 383.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.007811, allocations: 0 / 383.6 MB, free: 13.54 MB / 362.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.001066/0.008877, allocations: 0.7979 MB / 384.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.008925, allocations: 8.031 kB / 384.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.009054, allocations: 60.55 kB / 384.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.009512, allocations: 328.7 kB / 384.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.009536, allocations: 4.375 kB / 384.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.009551, allocations: 4.375 kB / 384.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.009762, allocations: 94.28 kB / 384.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.00977, allocations: 4.188 kB / 384.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.009784, allocations: 4.375 kB / 384.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.009793, allocations: 3.938 kB / 384.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.384e-05/0.009847, allocations: 19.92 kB / 384.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.0102, allocations: 316.2 kB / 385.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.01037, allocations: 98.16 kB / 385.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.01043, allocations: 35.34 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.01044, allocations: 4 kB / 385.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.0106, allocations: 120.3 kB / 385.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.0106, allocations: 0 / 385.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003379/0.01094, allocations: 173.2 kB / 385.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.01099, allocations: 81.05 kB / 385.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005411/0.01153, allocations: 0.7175 MB / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.01154, allocations: 29.7 kB / 386.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.01169, allocations: 302.8 kB / 386.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.01173, allocations: 39.72 kB / 386.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.01177, allocations: 35.36 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.01193, allocations: 0.5626 MB / 387.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.01197, allocations: 11.98 kB / 387.4 MB, free: 9.469 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.837e-05/0.01201, allocations: 54.73 kB / 387.5 MB, free: 9.398 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.911e-05/0.01209, allocations: 78.67 kB / 387.5 MB, free: 9.305 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.0121, allocations: 4 kB / 387.5 MB, free: 9.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001619/0.01226, allocations: 145.2 kB / 387.7 MB, free: 9.152 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.01227, allocations: 8.062 kB / 387.7 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.01228, allocations: 0.625 kB / 387.7 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.0123, allocations: 7.984 kB / 387.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.903e-05/0.01239, allocations: 27.88 kB / 387.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.0124, allocations: 4 kB / 387.7 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.796e-05/0.01246, allocations: 11.94 kB / 387.7 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.01247, allocations: 8 kB / 387.8 MB, free: 9.086 MB / 362.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.0001044/0.01257, allocations: 166 kB / 387.9 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.01262, allocations: 55.67 kB / 388 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.01284, allocations: 169.9 kB / 388.1 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01284, allocations: 4 kB / 388.1 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.01285, allocations: 3.938 kB / 388.1 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.01286, allocations: 4 kB / 388.1 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.0131, allocations: 316.4 kB / 388.5 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.0131, allocations: 0 / 388.5 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.01314, allocations: 12 kB / 388.5 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.01314, allocations: 0 / 388.5 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.01315, allocations: 4 kB / 388.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.01316, allocations: 0 / 388.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01316, allocations: 0 / 388.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.01336, allocations: 223.5 kB / 388.7 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.01342, allocations: 67.66 kB / 388.8 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.01345, allocations: 0 / 388.8 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.0135, allocations: 7.984 kB / 388.8 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.01354, allocations: 15.92 kB / 388.8 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.01356, allocations: 8 kB / 388.8 MB, free: 7.973 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000636/0.0142, allocations: 486.7 kB / 389.3 MB, free: 7.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.0142, allocations: 0 / 389.3 MB, free: 7.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.0144, allocations: 44 kB / 389.3 MB, free: 7.457 MB / 362.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.0008268/0.01522, allocations: 393.2 kB / 389.7 MB, free: 7.188 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.01538, allocations: 75.7 kB / 389.8 MB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01538, allocations: 0 / 389.8 MB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.286e-05/0.01543, allocations: 43.73 kB / 389.8 MB, free: 7.062 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.01573, allocations: 75.67 kB / 389.9 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007564/0.01649, allocations: 0.6675 MB / 390.5 MB, free: 6.285 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.7e-05/0.01657, allocations: 136.2 kB / 390.7 MB, free: 6.133 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.776e-05/0.01664, allocations: 34.97 kB / 390.7 MB, free: 6.094 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.0167, allocations: 32.48 kB / 390.7 MB, free: 6.062 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.0167, allocations: 0 / 390.7 MB, free: 6.062 MB / 362.7 MB Notification: Performance of Templates: time 0.006934/0.02363, allocations: 4.063 MB / 394.8 MB, free: 2.035 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.123659308999777]