Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.001695/0.001695, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.001999/0.001999, allocations: 207.3 kB / 21.4 MB, free: 1.645 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.54/1.54, allocations: 227.4 MB / 251.6 MB, free: 15.89 MB / 206.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.2393/0.2393, allocations: 46.17 MB / 351.1 MB, free: 14.25 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 80.48 kB / 490.3 MB, free: 27.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1449, allocations: 62.45 MB / 0.5398 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003453/0.1484, allocations: 1.725 MB / 0.5414 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.1503, allocations: 1.028 MB / 0.5425 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.104e-05/0.1504, allocations: 3.938 kB / 0.5425 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003631/0.1507, allocations: 47.75 kB / 0.5425 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.1511, allocations: 95.59 kB / 0.5426 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.1513, allocations: 71.69 kB / 0.5427 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.1515, allocations: 103.7 kB / 0.5428 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1517, allocations: 16 kB / 0.5428 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.146e-05/0.1518, allocations: 43.78 kB / 0.5428 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.889e-05/0.1519, allocations: 31.78 kB / 0.5428 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1519, allocations: 4 kB / 0.5428 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.152, allocations: 47.92 kB / 0.5429 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.1521, allocations: 23.92 kB / 0.5429 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.1521, allocations: 31.75 kB / 0.5429 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.1524, allocations: 119.5 kB / 0.5431 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1524, allocations: 0 / 0.5431 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1524, allocations: 3.938 kB / 0.5431 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1524, allocations: 4 kB / 0.5431 GB, free: 0.75 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.0006243/0.1531, allocations: 430.5 kB / 0.5435 GB, free: 288 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1531, allocations: 12.03 kB / 0.5435 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.1532, allocations: 12.83 kB / 0.5435 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.1535, allocations: 212.8 kB / 0.5437 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1535, allocations: 384 / 0.5437 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.1536, allocations: 4.375 kB / 0.5437 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.1538, allocations: 57.98 kB / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1538, allocations: 4 kB / 0.5438 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1538, allocations: 0 / 0.5438 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.1538, allocations: 4 kB / 0.5438 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.617e-05/0.1539, allocations: 15.98 kB / 0.5438 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.1544, allocations: 292.8 kB / 0.5441 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.1546, allocations: 62.66 kB / 0.5441 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.1546, allocations: 16.86 kB / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1547, allocations: 4 kB / 0.5441 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.1548, allocations: 71.3 kB / 0.5442 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1548, allocations: 0 / 0.5442 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005872/0.1554, allocations: 181.5 kB / 0.5444 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.1555, allocations: 55.41 kB / 0.5444 GB, free: 15.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.1557, allocations: 191.6 kB / 0.5446 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1557, allocations: 29.7 kB / 0.5447 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.859e-05/0.1558, allocations: 100.1 kB / 0.5447 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.1559, allocations: 23.84 kB / 0.5448 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.1559, allocations: 21.72 kB / 0.5448 GB, free: 14.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1561, allocations: 330.8 kB / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/0.1562, allocations: 16.17 kB / 0.5451 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.1562, allocations: 45.7 kB / 0.5452 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.1564, allocations: 65.58 kB / 0.5452 GB, free: 14.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1564, allocations: 0 / 0.5452 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002028/0.1566, allocations: 101.6 kB / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1566, allocations: 4 kB / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1567, allocations: 0 / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1567, allocations: 4 kB / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1568, allocations: 27.95 kB / 0.5454 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1568, allocations: 192 / 0.5454 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.1568, allocations: 4 kB / 0.5454 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1569, allocations: 3.938 kB / 0.5454 GB, free: 14.16 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.0001542/0.157, allocations: 133.8 kB / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.1571, allocations: 11.91 kB / 0.5455 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/0.1571, allocations: 13.56 kB / 0.5455 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1571, allocations: 4 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.1571, allocations: 7.984 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1571, allocations: 0 / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/0.1577, allocations: 403.2 kB / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1577, allocations: 0 / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.1577, allocations: 8 kB / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1578, allocations: 0 / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1578, allocations: 3.984 kB / 0.5459 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.1578, allocations: 11.88 kB / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1578, allocations: 0 / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.1581, allocations: 200.4 kB / 0.5461 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-05/0.1581, allocations: 89.02 kB / 0.5462 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.1582, allocations: 0 / 0.5462 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.1583, allocations: 15.92 kB / 0.5462 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.1583, allocations: 0 / 0.5462 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.1583, allocations: 4 kB / 0.5462 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.1585, allocations: 156.2 kB / 0.5464 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1585, allocations: 0 / 0.5464 GB, free: 13.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1587, allocations: 24 kB / 0.5464 GB, free: 12.98 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.001834/0.1606, allocations: 470.8 kB / 0.5469 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.1608, allocations: 55.98 kB / 0.5469 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1608, allocations: 0 / 0.5469 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.24e-05/0.1609, allocations: 27.92 kB / 0.5469 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.1613, allocations: 37.34 kB / 0.547 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.1618, allocations: 222.8 kB / 0.5472 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.1623, allocations: 0.7119 MB / 0.5479 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.713e-05/0.1624, allocations: 25.16 kB / 0.5479 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.1624, allocations: 15.44 kB / 0.5479 GB, free: 11.54 MB / 414.1 MB Notification: Performance of SimCode: time 2.886e-06/0.1625, allocations: 0 / 0.5479 GB, free: 11.54 MB / 414.1 MB Notification: Performance of Templates: time 0.005526/0.168, allocations: 1.734 MB / 0.5496 GB, free: 9.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.346705705858767]