Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.002167/0.002167, allocations: 118 kB / 18.46 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.002602/0.002602, allocations: 207.4 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.552/1.552, allocations: 227.4 MB / 251.6 MB, free: 15.93 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.239/0.239, allocations: 46.16 MB / 351.1 MB, free: 14.4 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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 77.89 kB / 490.2 MB, free: 28.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1355, allocations: 62.46 MB / 0.5397 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003376/0.1389, allocations: 1.655 MB / 0.5413 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.14, allocations: 0.5761 MB / 0.5419 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.1401, allocations: 0 / 0.5419 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006304/0.1408, allocations: 459.1 kB / 0.5423 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000477/0.1413, allocations: 295.3 kB / 0.5426 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.1417, allocations: 169.5 kB / 0.5428 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.142, allocations: 183.6 kB / 0.5429 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1421, allocations: 15.94 kB / 0.5429 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.1422, allocations: 119.7 kB / 0.5431 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.1425, allocations: 211.6 kB / 0.5433 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.1425, allocations: 4 kB / 0.5433 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-05/0.1426, allocations: 31.92 kB / 0.5433 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.1427, allocations: 79.7 kB / 0.5434 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.72e-05/0.1428, allocations: 114.9 kB / 0.5435 GB, free: 392 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.1432, allocations: 262.6 kB / 0.5437 GB, free: 128 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1432, allocations: 0 / 0.5437 GB, free: 128 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1432, allocations: 0 / 0.5437 GB, free: 128 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1432, allocations: 0 / 0.5437 GB, free: 128 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008198/0.1441, allocations: 0.657 MB / 0.5444 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1441, allocations: 12.03 kB / 0.5444 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.216e-05/0.1442, allocations: 44.61 kB / 0.5444 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.1445, allocations: 300.6 kB / 0.5447 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1445, allocations: 4.375 kB / 0.5447 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.1445, allocations: 384 / 0.5447 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.1447, allocations: 62.22 kB / 0.5448 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1447, allocations: 192 / 0.5448 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1448, allocations: 3.938 kB / 0.5448 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1448, allocations: 0 / 0.5448 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1449, allocations: 35.97 kB / 0.5448 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.1454, allocations: 404.6 kB / 0.5452 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.1457, allocations: 42.56 kB / 0.5452 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.77e-05/0.1457, allocations: 20.94 kB / 0.5453 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.1458, allocations: 4 kB / 0.5453 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1458, allocations: 30.56 kB / 0.5453 GB, free: 14.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 3.206e-06/0.1458, allocations: 0 / 0.5453 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006964/0.1465, allocations: 248.6 kB / 0.5455 GB, free: 14.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.1466, allocations: 51.41 kB / 0.5456 GB, free: 14.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008985/0.1475, allocations: 0.8698 MB / 0.5464 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1475, allocations: 33.7 kB / 0.5465 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.1477, allocations: 224.1 kB / 0.5467 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.1478, allocations: 19.8 kB / 0.5467 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.1478, allocations: 17.72 kB / 0.5467 GB, free: 12.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.148, allocations: 362.7 kB / 0.5471 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.1481, allocations: 23.98 kB / 0.5471 GB, free: 12.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.59e-05/0.1482, allocations: 19.98 kB / 0.5471 GB, free: 12.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.1483, allocations: 52.83 kB / 0.5472 GB, free: 12.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1483, allocations: 4 kB / 0.5472 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002377/0.1486, allocations: 121.6 kB / 0.5473 GB, free: 12.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1486, allocations: 10.28 kB / 0.5473 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1486, allocations: 0 / 0.5473 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1486, allocations: 4 kB / 0.5473 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.1487, allocations: 19.92 kB / 0.5473 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1487, allocations: 4 kB / 0.5473 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.665e-05/0.1488, allocations: 8 kB / 0.5473 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.1488, allocations: 0 / 0.5473 GB, free: 12.22 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 (5): * Single equations (assignments): 5 * 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.0001973/0.149, allocations: 221.6 kB / 0.5475 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.149, allocations: 43.72 kB / 0.5476 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.1493, allocations: 145.1 kB / 0.5477 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1494, allocations: 4 kB / 0.5477 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1494, allocations: 0 / 0.5477 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.1494, allocations: 0 / 0.5477 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000568/0.15, allocations: 470.4 kB / 0.5482 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.15, allocations: 4 kB / 0.5482 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.15, allocations: 15.98 kB / 0.5482 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.15, allocations: 0 / 0.5482 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.1501, allocations: 0 / 0.5482 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1501, allocations: 0 / 0.5482 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1501, allocations: 11.94 kB / 0.5482 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.1503, allocations: 215.2 kB / 0.5484 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.267e-05/0.1504, allocations: 112.8 kB / 0.5485 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.1505, allocations: 7.984 kB / 0.5485 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.984e-05/0.1506, allocations: 4 kB / 0.5485 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.1506, allocations: 3.938 kB / 0.5485 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.1506, allocations: 8.188 kB / 0.5485 GB, free: 10.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006506/0.1513, allocations: 0.655 MB / 0.5492 GB, free: 10.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1513, allocations: 0 / 0.5492 GB, free: 10.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1515, allocations: 20 kB / 0.5492 GB, free: 10.2 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 (5): * Single equations (assignments): 5 * 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.001462/0.153, allocations: 402.1 kB / 0.5496 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.1532, allocations: 55.89 kB / 0.5496 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1532, allocations: 4 kB / 0.5496 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.745e-05/0.1533, allocations: 23.98 kB / 0.5497 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.1537, allocations: 35.98 kB / 0.5497 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.1549, allocations: 0.8065 MB / 0.5505 GB, free: 8.988 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.1554, allocations: 0.826 MB / 0.5513 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.032e-05/0.1554, allocations: 19.97 kB / 0.5513 GB, free: 8.117 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.1555, allocations: 11.44 kB / 0.5513 GB, free: 8.109 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1555, allocations: 0 / 0.5513 GB, free: 8.109 MB / 414.1 MB Notification: Performance of Templates: time 0.005212/0.1607, allocations: 1.521 MB / 0.5528 GB, free: 6.594 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.2640586365014315]