Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.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.001772/0.001772, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.002298/0.002298, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.491/1.491, allocations: 230.2 MB / 255.2 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2306/0.2306, allocations: 46.89 MB / 358.1 MB, free: 10.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 90.31 kB / 0.4924 GB, free: 26.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1236, allocations: 65.98 MB / 0.5568 GB, free: 8.605 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003462/0.127, allocations: 1.681 MB / 0.5585 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1282, allocations: 0.5878 MB / 0.559 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.1283, allocations: 4 kB / 0.5591 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.1285, allocations: 55.73 kB / 0.5591 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.1288, allocations: 99.59 kB / 0.5592 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.1293, allocations: 183.1 kB / 0.5594 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.1295, allocations: 91.73 kB / 0.5595 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1296, allocations: 16.17 kB / 0.5595 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.025e-05/0.1297, allocations: 43.83 kB / 0.5595 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.1298, allocations: 47.83 kB / 0.5596 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1298, allocations: 4 kB / 0.5596 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1299, allocations: 55.95 kB / 0.5596 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.162e-05/0.13, allocations: 31.86 kB / 0.5597 GB, free: 5.699 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.13, allocations: 31.69 kB / 0.5597 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.1302, allocations: 111.6 kB / 0.5598 GB, free: 5.559 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1302, allocations: 4 kB / 0.5598 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1302, allocations: 4 kB / 0.5598 GB, free: 5.551 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1303, allocations: 0 / 0.5598 GB, free: 5.551 MB / 414.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.0005565/0.1308, allocations: 426.7 kB / 0.5602 GB, free: 5.082 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1308, allocations: 8.031 kB / 0.5602 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.1309, allocations: 12.84 kB / 0.5602 GB, free: 5.062 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.1311, allocations: 204.1 kB / 0.5604 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1311, allocations: 4.375 kB / 0.5604 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.1312, allocations: 4.375 kB / 0.5604 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.1313, allocations: 66.23 kB / 0.5605 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1313, allocations: 192 / 0.5605 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1314, allocations: 7.938 kB / 0.5605 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1314, allocations: 0 / 0.5605 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.1315, allocations: 47.89 kB / 0.5605 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.132, allocations: 328.7 kB / 0.5609 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.1323, allocations: 58.58 kB / 0.5609 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.375e-05/0.1324, allocations: 24.97 kB / 0.5609 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1324, allocations: 7.984 kB / 0.5609 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1324, allocations: 34.56 kB / 0.561 GB, free: 4.176 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.1324, allocations: 7.938 kB / 0.561 GB, free: 4.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001541/0.134, allocations: 417 kB / 0.5614 GB, free: 3.754 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.134, allocations: 51.41 kB / 0.5614 GB, free: 3.691 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.1342, allocations: 201.4 kB / 0.5616 GB, free: 3.488 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.1342, allocations: 25.7 kB / 0.5616 GB, free: 3.457 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.1343, allocations: 112.1 kB / 0.5618 GB, free: 3.344 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.1343, allocations: 39.62 kB / 0.5618 GB, free: 3.305 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.1344, allocations: 29.7 kB / 0.5618 GB, free: 3.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1346, allocations: 326.8 kB / 0.5621 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.1347, allocations: 51.97 kB / 0.5622 GB, free: 2.891 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.1348, allocations: 55.89 kB / 0.5622 GB, free: 2.836 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.1351, allocations: 128.8 kB / 0.5624 GB, free: 2.707 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1352, allocations: 0 / 0.5624 GB, free: 2.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003737/0.1355, allocations: 169.5 kB / 0.5625 GB, free: 2.535 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1355, allocations: 4 kB / 0.5625 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1355, allocations: 4 kB / 0.5625 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1356, allocations: 0 / 0.5625 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.1357, allocations: 27.92 kB / 0.5626 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1357, allocations: 0 / 0.5626 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.615e-05/0.1358, allocations: 20.48 kB / 0.5626 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.1358, allocations: 4 kB / 0.5626 GB, free: 2.477 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 (11): * Single equations (assignments): 11 * 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.0001102/0.1359, allocations: 129.8 kB / 0.5627 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.1359, allocations: 11.91 kB / 0.5627 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/0.1364, allocations: 199.3 kB / 0.5629 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1364, allocations: 0 / 0.5629 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1364, allocations: 3.938 kB / 0.5629 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1364, allocations: 11.88 kB / 0.5629 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007566/0.1372, allocations: 0.4884 MB / 0.5634 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1372, allocations: 3.984 kB / 0.5634 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.1373, allocations: 31.86 kB / 0.5634 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.1373, allocations: 7.984 kB / 0.5634 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1373, allocations: 4 kB / 0.5634 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1373, allocations: 4 kB / 0.5634 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1373, allocations: 0 / 0.5634 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004145/0.1377, allocations: 273.2 kB / 0.5637 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.1378, allocations: 96.89 kB / 0.5638 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.1378, allocations: 3.984 kB / 0.5638 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1379, allocations: 16 kB / 0.5638 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.1379, allocations: 7.984 kB / 0.5638 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.138, allocations: 4 kB / 0.5638 GB, free: 1.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.1381, allocations: 152.8 kB / 0.564 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1381, allocations: 0 / 0.564 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.1384, allocations: 27.94 kB / 0.564 GB, free: 0.8945 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001643/0.14, allocations: 453.7 kB / 0.5644 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003662/0.1404, allocations: 131.8 kB / 0.5646 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1404, allocations: 0 / 0.5646 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.1405, allocations: 67.89 kB / 0.5646 GB, free: 436 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.1409, allocations: 32.11 kB / 0.5647 GB, free: 412 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/0.1416, allocations: 341.8 kB / 0.565 GB, free: 32 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.1419, allocations: 0.7198 MB / 0.5657 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.142, allocations: 19.42 kB / 0.5657 GB, free: 15.27 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.142, allocations: 0 / 0.5657 GB, free: 15.27 MB / 430.1 MB Notification: Performance of Templates: time 0.00428/0.1463, allocations: 2.072 MB / 0.5677 GB, free: 13.19 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.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: 7.84433311293833]