Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.001379/0.00138, allocations: 116.1 kB / 19.13 MB, free: 3.941 MB / 14.72 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.00143/0.001431, allocations: 208.9 kB / 22.08 MB, free: 0.9922 MB / 14.72 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 1.568/1.568, allocations: 227.4 MB / 252.3 MB, free: 104 kB / 190.1 MB " [Timeout remaining time 178] 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.2679/0.2679, allocations: 46.17 MB / 351.8 MB, free: 14.31 MB / 286.1 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 83.92 kB / 490.9 MB, free: 27.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1359, allocations: 62.45 MB / 0.5404 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003768/0.1397, allocations: 1.729 MB / 0.5421 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.1418, allocations: 1.017 MB / 0.5431 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.1419, allocations: 0 / 0.5431 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.1423, allocations: 43.77 kB / 0.5432 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004055/0.1427, allocations: 99.47 kB / 0.5432 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.143, allocations: 79.72 kB / 0.5433 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.1432, allocations: 99.69 kB / 0.5434 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1433, allocations: 20 kB / 0.5434 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.125e-05/0.1434, allocations: 39.8 kB / 0.5435 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.863e-05/0.1435, allocations: 35.77 kB / 0.5435 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1435, allocations: 4 kB / 0.5435 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1437, allocations: 43.98 kB / 0.5436 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.1437, allocations: 19.92 kB / 0.5436 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.1438, allocations: 35.73 kB / 0.5436 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.144, allocations: 119.4 kB / 0.5437 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1441, allocations: 4 kB / 0.5437 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1441, allocations: 0 / 0.5437 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1441, allocations: 0 / 0.5437 GB, free: 0.7852 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006066/0.1447, allocations: 414.7 kB / 0.5441 GB, free: 340 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1447, allocations: 8.031 kB / 0.5441 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.1448, allocations: 20.84 kB / 0.5441 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.1451, allocations: 204.2 kB / 0.5443 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1451, allocations: 384 / 0.5443 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.1451, allocations: 4.375 kB / 0.5443 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.1453, allocations: 65.92 kB / 0.5444 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1453, allocations: 0 / 0.5444 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1454, allocations: 0 / 0.5444 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1454, allocations: 7.938 kB / 0.5444 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.99e-05/0.1455, allocations: 19.98 kB / 0.5444 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.1459, allocations: 288.8 kB / 0.5447 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.1461, allocations: 66.59 kB / 0.5448 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.967e-05/0.1461, allocations: 20.86 kB / 0.5448 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.1462, allocations: 7.984 kB / 0.5448 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.1463, allocations: 59.39 kB / 0.5449 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1463, allocations: 0 / 0.5449 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006256/0.147, allocations: 177.4 kB / 0.545 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.147, allocations: 59.39 kB / 0.5451 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.1472, allocations: 177.2 kB / 0.5453 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1473, allocations: 33.64 kB / 0.5453 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.332e-05/0.1473, allocations: 100.1 kB / 0.5454 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.1474, allocations: 23.8 kB / 0.5454 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.1474, allocations: 21.7 kB / 0.5454 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1476, allocations: 330.8 kB / 0.5457 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.428e-05/0.1477, allocations: 23.98 kB / 0.5458 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.833e-05/0.1478, allocations: 37.64 kB / 0.5458 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.1479, allocations: 61.7 kB / 0.5459 GB, free: 14.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1479, allocations: 0 / 0.5459 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001974/0.1481, allocations: 101.5 kB / 0.546 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1481, allocations: 8 kB / 0.546 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1481, allocations: 4.031 kB / 0.546 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1482, allocations: 0 / 0.546 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.884e-05/0.1483, allocations: 16 kB / 0.546 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.1483, allocations: 4 kB / 0.546 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.1483, allocations: 4.359 kB / 0.546 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.1484, allocations: 4 kB / 0.546 GB, free: 14.22 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001658/0.1485, allocations: 129.7 kB / 0.5461 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.1485, allocations: 7.953 kB / 0.5461 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.938e-05/0.1486, allocations: 21.39 kB / 0.5461 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1486, allocations: 8 kB / 0.5462 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1486, allocations: 0 / 0.5462 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1486, allocations: 0 / 0.5462 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.1491, allocations: 395.2 kB / 0.5465 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1491, allocations: 7.938 kB / 0.5465 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.428e-05/0.1492, allocations: 7.984 kB / 0.5465 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1492, allocations: 4 kB / 0.5465 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1492, allocations: 0 / 0.5465 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1492, allocations: 7.969 kB / 0.5466 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1492, allocations: 4 kB / 0.5466 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.1495, allocations: 200.5 kB / 0.5468 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.1496, allocations: 89 kB / 0.5468 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.1496, allocations: 4 kB / 0.5468 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.06e-05/0.1497, allocations: 3.938 kB / 0.5468 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.1497, allocations: 15.98 kB / 0.5469 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.1497, allocations: 4 kB / 0.5469 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1499, allocations: 137.1 kB / 0.547 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1499, allocations: 0 / 0.547 GB, free: 13.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1502, allocations: 31.86 kB / 0.547 GB, free: 13.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001723/0.1519, allocations: 457.8 kB / 0.5475 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.1521, allocations: 59.91 kB / 0.5475 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1521, allocations: 0 / 0.5475 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.455e-05/0.1522, allocations: 35.92 kB / 0.5476 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.1526, allocations: 33.47 kB / 0.5476 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.1531, allocations: 248.9 kB / 0.5478 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.1534, allocations: 0.7002 MB / 0.5485 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.1535, allocations: 19.42 kB / 0.5485 GB, free: 11.63 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1535, allocations: 0 / 0.5485 GB, free: 11.63 MB / 414.1 MB Notification: Performance of Templates: time 0.004789/0.1583, allocations: 1.937 MB / 0.5504 GB, free: 9.699 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.931076159002259]