Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001711/0.001711, allocations: 119.5 kB / 18.45 MB, free: 4.594 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.002078/0.002078, allocations: 210.5 kB / 21.41 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.545/1.545, allocations: 227.4 MB / 251.7 MB, free: 15.91 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.2545/0.2545, allocations: 46.18 MB / 351.1 MB, free: 14.29 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 85.64 kB / 490.2 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1475, allocations: 62.44 MB / 0.5397 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003076/0.1506, allocations: 1.626 MB / 0.5413 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.1524, allocations: 1.171 MB / 0.5424 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.1525, allocations: 4 kB / 0.5424 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.1527, allocations: 23.86 kB / 0.5425 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.1529, allocations: 87.61 kB / 0.5425 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.1533, allocations: 111.7 kB / 0.5426 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.1534, allocations: 79.77 kB / 0.5427 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.348e-05/0.1535, allocations: 35.91 kB / 0.5428 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.866e-05/0.1535, allocations: 19.92 kB / 0.5428 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.1537, allocations: 43.78 kB / 0.5428 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1537, allocations: 4 kB / 0.5428 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.1539, allocations: 103.9 kB / 0.5429 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.767e-05/0.1539, allocations: 11.98 kB / 0.5429 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.1539, allocations: 31.81 kB / 0.543 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.1542, allocations: 155.4 kB / 0.5431 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.1542, allocations: 4 kB / 0.5431 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1542, allocations: 0 / 0.5431 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.1542, allocations: 0 / 0.5431 GB, free: 0.7422 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004638/0.1547, allocations: 418.7 kB / 0.5435 GB, free: 288 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.635e-05/0.1547, allocations: 8.031 kB / 0.5435 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.1548, allocations: 8.891 kB / 0.5435 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.155, allocations: 202.1 kB / 0.5437 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-06/0.155, allocations: 4.375 kB / 0.5437 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.155, allocations: 384 / 0.5437 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.1552, allocations: 87.88 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1552, allocations: 4.141 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1552, allocations: 7.938 kB / 0.5438 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.1552, allocations: 0 / 0.5438 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1554, allocations: 35.97 kB / 0.5439 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.1558, allocations: 312.8 kB / 0.5441 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.1559, allocations: 62.53 kB / 0.5442 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.156, allocations: 20.97 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.156, allocations: 4 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.156, allocations: 30.56 kB / 0.5443 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 2.985e-06/0.156, allocations: 0 / 0.5443 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006039/0.1566, allocations: 209.6 kB / 0.5445 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.1567, allocations: 81.11 kB / 0.5445 GB, free: 15.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1569, allocations: 145.6 kB / 0.5447 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.1569, allocations: 33.7 kB / 0.5447 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.157, allocations: 104 kB / 0.5448 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.157, allocations: 23.8 kB / 0.5448 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.1571, allocations: 25.72 kB / 0.5449 GB, free: 14.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1573, allocations: 326.8 kB / 0.5452 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.508e-05/0.1574, allocations: 27.98 kB / 0.5452 GB, free: 14.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1575, allocations: 49.69 kB / 0.5452 GB, free: 14.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.1576, allocations: 68.83 kB / 0.5453 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.1577, allocations: 3.984 kB / 0.5453 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002436/0.1579, allocations: 105.6 kB / 0.5454 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1579, allocations: 9.719 kB / 0.5454 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.158, allocations: 0 / 0.5454 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.158, allocations: 0 / 0.5454 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1581, allocations: 19.92 kB / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.1581, allocations: 0 / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.1581, allocations: 4 kB / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1582, allocations: 7.938 kB / 0.5455 GB, free: 14.1 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001109/0.1583, allocations: 125.8 kB / 0.5456 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.1583, allocations: 11.91 kB / 0.5456 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.1587, allocations: 134.6 kB / 0.5457 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.1587, allocations: 0 / 0.5457 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1587, allocations: 7.922 kB / 0.5457 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1587, allocations: 0 / 0.5457 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005699/0.1593, allocations: 410.4 kB / 0.5461 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1593, allocations: 0 / 0.5461 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.1594, allocations: 15.98 kB / 0.5461 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1594, allocations: 3.938 kB / 0.5461 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1594, allocations: 7.938 kB / 0.5461 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1594, allocations: 0 / 0.5461 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1594, allocations: 0 / 0.5461 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.1597, allocations: 207.4 kB / 0.5463 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.1598, allocations: 85.05 kB / 0.5464 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.1598, allocations: 7.938 kB / 0.5464 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.1599, allocations: 4 kB / 0.5464 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.1599, allocations: 7.984 kB / 0.5464 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.1599, allocations: 4 kB / 0.5464 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.1601, allocations: 115.2 kB / 0.5465 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1601, allocations: 0 / 0.5465 GB, free: 12.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.1604, allocations: 43.88 kB / 0.5466 GB, free: 12.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001843/0.1622, allocations: 0.4961 MB / 0.5471 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.1625, allocations: 67.95 kB / 0.5471 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1625, allocations: 0 / 0.5471 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.1626, allocations: 43.91 kB / 0.5472 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.163, allocations: 19.98 kB / 0.5472 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004756/0.1635, allocations: 197.9 kB / 0.5474 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.1639, allocations: 0.7002 MB / 0.5481 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.471e-05/0.1639, allocations: 20.95 kB / 0.5481 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.164, allocations: 23.42 kB / 0.5481 GB, free: 11.36 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.164, allocations: 0 / 0.5481 GB, free: 11.36 MB / 414.1 MB Notification: Performance of Templates: time 0.004943/0.169, allocations: 1.873 MB / 0.5499 GB, free: 9.496 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.303155064582825]