Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001741/0.001742, allocations: 121.3 kB / 18.45 MB, free: 4.586 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.002268/0.002269, allocations: 202.5 kB / 21.4 MB, free: 1.648 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.532/1.532, allocations: 227.4 MB / 251.6 MB, free: 20 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.2741/0.2741, allocations: 46.16 MB / 351.1 MB, free: 14.34 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 82.44 kB / 490.2 MB, free: 27.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1307, allocations: 62.45 MB / 0.5397 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003604/0.1344, allocations: 1.66 MB / 0.5413 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.1364, allocations: 1.206 MB / 0.5425 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.707e-05/0.1365, allocations: 0 / 0.5425 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.1368, allocations: 31.78 kB / 0.5425 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.1371, allocations: 87.61 kB / 0.5426 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.1376, allocations: 168.2 kB / 0.5428 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.1378, allocations: 79.77 kB / 0.5428 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1379, allocations: 27.91 kB / 0.5429 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.887e-05/0.1379, allocations: 31.86 kB / 0.5429 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.1381, allocations: 43.83 kB / 0.5429 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.1381, allocations: 7.938 kB / 0.543 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.1383, allocations: 99.88 kB / 0.5431 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.1384, allocations: 23.92 kB / 0.5431 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.1385, allocations: 27.8 kB / 0.5431 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.1388, allocations: 139.6 kB / 0.5432 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.1388, allocations: 0 / 0.5432 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1388, allocations: 3.938 kB / 0.5432 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1388, allocations: 0 / 0.5432 GB, free: 0.5625 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000669/0.1395, allocations: 425.6 kB / 0.5436 GB, free: 100 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1395, allocations: 12.03 kB / 0.5437 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.1396, allocations: 12.88 kB / 0.5437 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.1399, allocations: 198.3 kB / 0.5439 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1399, allocations: 4.375 kB / 0.5439 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.1399, allocations: 4.359 kB / 0.5439 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.1401, allocations: 75.89 kB / 0.5439 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1402, allocations: 192 / 0.5439 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.1402, allocations: 11.94 kB / 0.5439 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1402, allocations: 4 kB / 0.544 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.1404, allocations: 35.95 kB / 0.544 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006147/0.141, allocations: 304.8 kB / 0.5443 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.1412, allocations: 58.48 kB / 0.5443 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.509e-05/0.1413, allocations: 24.94 kB / 0.5444 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1413, allocations: 0 / 0.5444 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.1414, allocations: 34.56 kB / 0.5444 GB, free: 15.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 2.685e-06/0.1414, allocations: 0 / 0.5444 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008963/0.1423, allocations: 241.3 kB / 0.5446 GB, free: 14.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.122e-05/0.1424, allocations: 77.11 kB / 0.5447 GB, free: 14.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.1426, allocations: 145.6 kB / 0.5448 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.1426, allocations: 29.7 kB / 0.5449 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.1427, allocations: 100.1 kB / 0.545 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.1427, allocations: 19.8 kB / 0.545 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.1428, allocations: 29.7 kB / 0.545 GB, free: 14.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.143, allocations: 322.8 kB / 0.5453 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1431, allocations: 35.97 kB / 0.5453 GB, free: 14.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.1433, allocations: 53.69 kB / 0.5454 GB, free: 14.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.1435, allocations: 92.75 kB / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1435, allocations: 0 / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003155/0.1439, allocations: 125.8 kB / 0.5456 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1439, allocations: 9.719 kB / 0.5456 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1439, allocations: 0 / 0.5456 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1439, allocations: 0 / 0.5456 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1441, allocations: 27.97 kB / 0.5456 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1441, allocations: 8 kB / 0.5456 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.1441, allocations: 7.984 kB / 0.5457 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1442, allocations: 4 kB / 0.5457 GB, free: 13.84 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 (7): * Single equations (assignments): 7 * 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.0001226/0.1443, allocations: 117.8 kB / 0.5458 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.1443, allocations: 11.89 kB / 0.5458 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.1447, allocations: 138.3 kB / 0.5459 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1447, allocations: 4 kB / 0.5459 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1447, allocations: 4 kB / 0.5459 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1447, allocations: 0 / 0.5459 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006263/0.1454, allocations: 426.3 kB / 0.5463 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1454, allocations: 0 / 0.5463 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.498e-05/0.1455, allocations: 19.98 kB / 0.5463 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1455, allocations: 4 kB / 0.5464 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1455, allocations: 0 / 0.5464 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1455, allocations: 3.938 kB / 0.5464 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1455, allocations: 0 / 0.5464 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.1459, allocations: 223.4 kB / 0.5466 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.497e-05/0.146, allocations: 89.05 kB / 0.5467 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.1461, allocations: 3.938 kB / 0.5467 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.772e-05/0.1462, allocations: 15.94 kB / 0.5467 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.1462, allocations: 3.984 kB / 0.5467 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.1462, allocations: 4.281 kB / 0.5467 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.1463, allocations: 115.2 kB / 0.5468 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1464, allocations: 0 / 0.5468 GB, free: 12.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.1466, allocations: 35.88 kB / 0.5468 GB, free: 12.54 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 (7): * Single equations (assignments): 7 * 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.00182/0.1485, allocations: 0.4977 MB / 0.5473 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003495/0.1488, allocations: 87.92 kB / 0.5474 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1489, allocations: 0 / 0.5474 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.149, allocations: 47.91 kB / 0.5474 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.1494, allocations: 19.92 kB / 0.5475 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005492/0.1499, allocations: 217.8 kB / 0.5477 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.1503, allocations: 0.6963 MB / 0.5483 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.785e-05/0.1504, allocations: 28.95 kB / 0.5484 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.1505, allocations: 19.44 kB / 0.5484 GB, free: 11.03 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1505, allocations: 0 / 0.5484 GB, free: 11.03 MB / 414.1 MB Notification: Performance of Templates: time 0.005438/0.1559, allocations: 1.932 MB / 0.5503 GB, free: 9.105 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.1979379979893565]