Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.001672/0.001673, allocations: 114.8 kB / 18.45 MB, free: 4.613 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.001719/0.001719, allocations: 206.6 kB / 21.4 MB, free: 1.668 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.505/1.505, allocations: 227.4 MB / 251.6 MB, free: 88 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.2446/0.2446, allocations: 46.17 MB / 351.1 MB, free: 14.3 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 83.56 kB / 490.3 MB, free: 27.78 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1452, allocations: 62.45 MB / 0.5398 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003849/0.1491, allocations: 1.727 MB / 0.5415 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.1512, allocations: 1.018 MB / 0.5425 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.58e-05/0.1513, allocations: 0 / 0.5425 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.1516, allocations: 43.77 kB / 0.5425 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.152, allocations: 95.48 kB / 0.5426 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.1523, allocations: 87.66 kB / 0.5427 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.1525, allocations: 95.75 kB / 0.5428 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.1527, allocations: 19.98 kB / 0.5428 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.1528, allocations: 43.78 kB / 0.5428 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.985e-05/0.1529, allocations: 27.8 kB / 0.5428 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.1529, allocations: 4 kB / 0.5429 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.153, allocations: 47.97 kB / 0.5429 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.1531, allocations: 19.92 kB / 0.5429 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.1532, allocations: 35.75 kB / 0.543 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.1535, allocations: 127.4 kB / 0.5431 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1535, allocations: 0 / 0.5431 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1535, allocations: 0 / 0.5431 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1535, allocations: 0 / 0.5431 GB, free: 0.6562 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.000675/0.1542, allocations: 430.6 kB / 0.5435 GB, free: 192 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1542, allocations: 8.031 kB / 0.5435 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.1543, allocations: 8.891 kB / 0.5435 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.1547, allocations: 220.8 kB / 0.5437 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1547, allocations: 8.375 kB / 0.5437 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.1547, allocations: 384 / 0.5437 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1549, allocations: 61.92 kB / 0.5438 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1549, allocations: 0 / 0.5438 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1549, allocations: 0 / 0.5438 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1549, allocations: 4 kB / 0.5438 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.155, allocations: 15.98 kB / 0.5438 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.1555, allocations: 288.9 kB / 0.5441 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.1557, allocations: 62.61 kB / 0.5441 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.1557, allocations: 16.86 kB / 0.5441 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.1558, allocations: 0 / 0.5441 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.1559, allocations: 71.38 kB / 0.5442 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.1559, allocations: 4 kB / 0.5442 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006018/0.1565, allocations: 177.3 kB / 0.5444 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.1566, allocations: 51.41 kB / 0.5444 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.1568, allocations: 195.6 kB / 0.5446 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1569, allocations: 25.7 kB / 0.5446 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.157, allocations: 100.1 kB / 0.5447 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.1571, allocations: 23.84 kB / 0.5448 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.1571, allocations: 29.72 kB / 0.5448 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.1573, allocations: 326.8 kB / 0.5451 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.174e-05/0.1574, allocations: 23.98 kB / 0.5451 GB, free: 14.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.1576, allocations: 38.02 kB / 0.5452 GB, free: 14.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1577, allocations: 53.7 kB / 0.5452 GB, free: 14.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1577, allocations: 0 / 0.5452 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002104/0.1579, allocations: 125.5 kB / 0.5453 GB, free: 14.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1579, allocations: 4 kB / 0.5453 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.158, allocations: 0 / 0.5453 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.158, allocations: 4 kB / 0.5453 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1581, allocations: 15.98 kB / 0.5454 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1581, allocations: 0 / 0.5454 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.1582, allocations: 4 kB / 0.5454 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.1582, allocations: 3.984 kB / 0.5454 GB, free: 14.07 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.0001239/0.1583, allocations: 137.7 kB / 0.5455 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.1583, allocations: 15.94 kB / 0.5455 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.1584, allocations: 13.59 kB / 0.5455 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1584, allocations: 4 kB / 0.5455 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1584, allocations: 3.938 kB / 0.5455 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1584, allocations: 3.984 kB / 0.5455 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006769/0.1591, allocations: 395.2 kB / 0.5459 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1591, allocations: 0 / 0.5459 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.1592, allocations: 8 kB / 0.5459 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1592, allocations: 4.031 kB / 0.5459 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.1592, allocations: 7.984 kB / 0.5459 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1592, allocations: 7.938 kB / 0.5459 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1592, allocations: 0 / 0.5459 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.1595, allocations: 200.3 kB / 0.5461 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.1595, allocations: 89.02 kB / 0.5462 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.1596, allocations: 4 kB / 0.5462 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.1597, allocations: 11.94 kB / 0.5462 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.1597, allocations: 7.984 kB / 0.5462 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.1597, allocations: 0 / 0.5462 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.1599, allocations: 156.2 kB / 0.5464 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1599, allocations: 0 / 0.5464 GB, free: 12.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.1602, allocations: 20 kB / 0.5464 GB, free: 12.89 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.001746/0.1619, allocations: 461.6 kB / 0.5468 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.1621, allocations: 55.92 kB / 0.5469 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1621, allocations: 0 / 0.5469 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.363e-05/0.1622, allocations: 31.92 kB / 0.5469 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.1626, allocations: 38.86 kB / 0.547 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005671/0.1632, allocations: 226.7 kB / 0.5472 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.1636, allocations: 0.7041 MB / 0.5479 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.797e-05/0.1637, allocations: 16.86 kB / 0.5479 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.1638, allocations: 19.44 kB / 0.5479 GB, free: 11.46 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1638, allocations: 0 / 0.5479 GB, free: 11.46 MB / 414.1 MB Notification: Performance of Templates: time 0.005449/0.1692, allocations: 1.742 MB / 0.5496 GB, free: 9.73 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.256665118038654]