Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001302/0.001303, allocations: 120.8 kB / 18.45 MB, free: 4.461 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.00142/0.00142, allocations: 205 kB / 21.41 MB, free: 1.516 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.475/1.475, allocations: 227.4 MB / 251.6 MB, free: 56 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.2509/0.2509, allocations: 46.18 MB / 351.1 MB, free: 14.27 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002386/0.002386, allocations: 82.62 kB / 490.3 MB, free: 27.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1431, allocations: 62.45 MB / 0.5398 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003553/0.1467, allocations: 1.752 MB / 0.5415 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.1487, allocations: 1.028 MB / 0.5425 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.957e-05/0.1488, allocations: 0 / 0.5425 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.1492, allocations: 91.69 kB / 0.5426 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004336/0.1496, allocations: 115.5 kB / 0.5427 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.1499, allocations: 79.72 kB / 0.5428 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.1501, allocations: 115.6 kB / 0.5429 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1502, allocations: 15.98 kB / 0.5429 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.1503, allocations: 55.77 kB / 0.543 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.1505, allocations: 63.75 kB / 0.543 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1505, allocations: 4 kB / 0.543 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1506, allocations: 59.98 kB / 0.5431 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.1507, allocations: 23.91 kB / 0.5431 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.561e-05/0.1508, allocations: 43.67 kB / 0.5431 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.1511, allocations: 147.3 kB / 0.5433 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1511, allocations: 0 / 0.5433 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1511, allocations: 0 / 0.5433 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1511, allocations: 0 / 0.5433 GB, free: 0.5195 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006532/0.1517, allocations: 434.5 kB / 0.5437 GB, free: 48 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1518, allocations: 16.03 kB / 0.5437 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.1519, allocations: 16.84 kB / 0.5437 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.1522, allocations: 220.1 kB / 0.5439 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1522, allocations: 384 / 0.5439 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.1523, allocations: 8.375 kB / 0.5439 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1524, allocations: 65.92 kB / 0.544 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1525, allocations: 0 / 0.544 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1525, allocations: 0 / 0.544 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1525, allocations: 0 / 0.544 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.337e-05/0.1526, allocations: 23.98 kB / 0.544 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.153, allocations: 308.7 kB / 0.5443 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.1533, allocations: 66.48 kB / 0.5444 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.238e-05/0.1534, allocations: 20.97 kB / 0.5444 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.1534, allocations: 4 kB / 0.5444 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.1536, allocations: 67.39 kB / 0.5445 GB, free: 15.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.1536, allocations: 0 / 0.5445 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008242/0.1544, allocations: 249.3 kB / 0.5447 GB, free: 14.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.1545, allocations: 55.34 kB / 0.5448 GB, free: 14.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.1547, allocations: 231.3 kB / 0.545 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.1548, allocations: 25.7 kB / 0.545 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.638e-05/0.1549, allocations: 112.1 kB / 0.5451 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.1549, allocations: 31.75 kB / 0.5451 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.155, allocations: 29.7 kB / 0.5452 GB, free: 14.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.1552, allocations: 326.8 kB / 0.5455 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.1552, allocations: 31.98 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.564e-05/0.1553, allocations: 41.7 kB / 0.5456 GB, free: 13.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.1555, allocations: 81.7 kB / 0.5456 GB, free: 13.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1555, allocations: 0 / 0.5456 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002456/0.1558, allocations: 129.5 kB / 0.5458 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.1558, allocations: 8 kB / 0.5458 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.1558, allocations: 4 kB / 0.5458 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1558, allocations: 0 / 0.5458 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.1559, allocations: 23.92 kB / 0.5458 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.156, allocations: 4 kB / 0.5458 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.558e-05/0.156, allocations: 7.938 kB / 0.5458 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.156, allocations: 8.734 kB / 0.5458 GB, free: 13.68 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 (13): * Single equations (assignments): 13 * 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.0001462/0.1562, allocations: 133.8 kB / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.1562, allocations: 15.91 kB / 0.546 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.446e-05/0.1563, allocations: 13.41 kB / 0.546 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.1563, allocations: 7.984 kB / 0.546 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1563, allocations: 0 / 0.546 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.1563, allocations: 3.938 kB / 0.546 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/0.157, allocations: 456 kB / 0.5464 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.157, allocations: 4 kB / 0.5464 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.1571, allocations: 12 kB / 0.5464 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1571, allocations: 3.938 kB / 0.5464 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.1571, allocations: 8 kB / 0.5464 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.1571, allocations: 3.938 kB / 0.5464 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1571, allocations: 0 / 0.5464 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.1575, allocations: 233.1 kB / 0.5467 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.539e-05/0.1576, allocations: 92.95 kB / 0.5468 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.1577, allocations: 4 kB / 0.5468 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.1577, allocations: 11.98 kB / 0.5468 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.1578, allocations: 4 kB / 0.5468 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.1578, allocations: 7.984 kB / 0.5468 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.158, allocations: 173.1 kB / 0.5469 GB, free: 12.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.158, allocations: 0 / 0.5469 GB, free: 12.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.1583, allocations: 27.94 kB / 0.547 GB, free: 12.37 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002029/0.1604, allocations: 0.5089 MB / 0.5475 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002277/0.1606, allocations: 79.91 kB / 0.5475 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1606, allocations: 0 / 0.5475 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.414e-05/0.1607, allocations: 44.05 kB / 0.5476 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1611, allocations: 35.05 kB / 0.5476 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006029/0.1617, allocations: 284.4 kB / 0.5479 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.1622, allocations: 0.7119 MB / 0.5486 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.278e-05/0.1623, allocations: 20.69 kB / 0.5486 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.1623, allocations: 23.44 kB / 0.5486 GB, free: 10.8 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1623, allocations: 0 / 0.5486 GB, free: 10.8 MB / 414.1 MB Notification: Performance of Templates: time 0.006036/0.1684, allocations: 2 MB / 0.5506 GB, free: 8.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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: 5.273862453177571]