Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.001723/0.001723, allocations: 120.6 kB / 18.45 MB, free: 4.578 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.002064/0.002064, allocations: 205 kB / 21.4 MB, free: 1.633 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.501/1.501, allocations: 227.4 MB / 251.6 MB, free: 60 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.2518/0.2518, allocations: 46.16 MB / 351.1 MB, free: 14.28 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002409, allocations: 79.09 kB / 490.3 MB, free: 27.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1452, allocations: 62.46 MB / 0.5398 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003716/0.149, allocations: 1.739 MB / 0.5415 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.1511, allocations: 1.026 MB / 0.5425 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1512, allocations: 4 kB / 0.5425 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004388/0.1517, allocations: 55.73 kB / 0.5425 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004117/0.1521, allocations: 95.53 kB / 0.5426 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.1524, allocations: 83.66 kB / 0.5427 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.1527, allocations: 127.7 kB / 0.5428 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.1528, allocations: 12 kB / 0.5428 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.153, allocations: 59.75 kB / 0.5429 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.1531, allocations: 55.7 kB / 0.5429 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.1531, allocations: 8 kB / 0.543 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.1533, allocations: 59.92 kB / 0.543 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.179e-05/0.1534, allocations: 23.92 kB / 0.543 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.314e-05/0.1535, allocations: 47.72 kB / 0.5431 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.1538, allocations: 147.3 kB / 0.5432 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.1538, allocations: 0 / 0.5432 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.1539, allocations: 0 / 0.5432 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1539, allocations: 0 / 0.5432 GB, free: 0.5703 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008128/0.1547, allocations: 450.5 kB / 0.5436 GB, free: 84 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.1548, allocations: 12.03 kB / 0.5437 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.321e-05/0.1548, allocations: 16.78 kB / 0.5437 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.1553, allocations: 228.1 kB / 0.5439 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.1553, allocations: 4.375 kB / 0.5439 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.1553, allocations: 384 / 0.5439 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.1556, allocations: 77.97 kB / 0.544 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.1556, allocations: 3.938 kB / 0.544 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.1556, allocations: 4 kB / 0.544 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.1556, allocations: 7.984 kB / 0.544 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.1558, allocations: 39.97 kB / 0.544 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006043/0.1564, allocations: 328.7 kB / 0.5443 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.1567, allocations: 82.56 kB / 0.5444 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.092e-05/0.1568, allocations: 32.84 kB / 0.5445 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.1569, allocations: 4 kB / 0.5445 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.1571, allocations: 83.38 kB / 0.5445 GB, free: 15.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.1571, allocations: 3.938 kB / 0.5445 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001081/0.1582, allocations: 305.1 kB / 0.5448 GB, free: 14.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.1583, allocations: 51.41 kB / 0.5449 GB, free: 14.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.1586, allocations: 194 kB / 0.5451 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.1586, allocations: 37.7 kB / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.1587, allocations: 100.4 kB / 0.5452 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.82e-05/0.1588, allocations: 47.64 kB / 0.5452 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.1588, allocations: 29.7 kB / 0.5453 GB, free: 14.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002239/0.1591, allocations: 326.8 kB / 0.5456 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.962e-05/0.1592, allocations: 39.98 kB / 0.5456 GB, free: 13.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.1593, allocations: 57.64 kB / 0.5457 GB, free: 13.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.1595, allocations: 99.83 kB / 0.5458 GB, free: 13.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1595, allocations: 3.984 kB / 0.5458 GB, free: 13.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002836/0.1598, allocations: 153.5 kB / 0.5459 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1598, allocations: 4 kB / 0.5459 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1599, allocations: 4 kB / 0.5459 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1599, allocations: 0 / 0.5459 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.16, allocations: 23.98 kB / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.16, allocations: 32 / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.29e-05/0.1601, allocations: 15.94 kB / 0.546 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.1601, allocations: 4 kB / 0.546 GB, free: 13.52 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 (15): * Single equations (assignments): 15 * 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.0001499/0.1602, allocations: 134.3 kB / 0.5461 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.1603, allocations: 11.91 kB / 0.5461 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.475e-05/0.1604, allocations: 25.52 kB / 0.5461 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1604, allocations: 0 / 0.5461 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.1604, allocations: 4 kB / 0.5461 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.1604, allocations: 3.938 kB / 0.5461 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007057/0.1611, allocations: 488.2 kB / 0.5466 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1611, allocations: 0 / 0.5466 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-05/0.1612, allocations: 24.77 kB / 0.5466 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1612, allocations: 3.938 kB / 0.5466 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.1612, allocations: 8 kB / 0.5466 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1612, allocations: 0 / 0.5466 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1613, allocations: 0 / 0.5466 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.1616, allocations: 251.9 kB / 0.5469 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.106e-05/0.1617, allocations: 96.94 kB / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.1618, allocations: 8 kB / 0.547 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.1618, allocations: 11.94 kB / 0.547 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.1619, allocations: 11.92 kB / 0.547 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.1619, allocations: 8 kB / 0.547 GB, free: 12.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.1621, allocations: 152.8 kB / 0.5472 GB, free: 12.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1621, allocations: 0 / 0.5472 GB, free: 12.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.1624, allocations: 35.92 kB / 0.5472 GB, free: 12.16 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 (13): * Single equations (assignments): 11 * 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.00213/0.1646, allocations: 0.4913 MB / 0.5477 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.1649, allocations: 99.89 kB / 0.5478 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1649, allocations: 4.062 kB / 0.5478 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.165, allocations: 55.86 kB / 0.5478 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.1654, allocations: 37.28 kB / 0.5479 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005954/0.166, allocations: 284.3 kB / 0.5481 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1664, allocations: 0.7163 MB / 0.5488 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.055e-05/0.1664, allocations: 29.39 kB / 0.5489 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.1665, allocations: 31.36 kB / 0.5489 GB, free: 10.54 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1665, allocations: 0 / 0.5489 GB, free: 10.54 MB / 414.1 MB Notification: Performance of Templates: time 0.0059/0.1724, allocations: 2.168 MB / 0.551 GB, free: 8.387 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.122279433533549]