Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.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.001329/0.001329, allocations: 121.3 kB / 19.18 MB, free: 3.852 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.00142/0.00142, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.549/1.549, allocations: 230.3 MB / 255.2 MB, free: 15.37 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.2212/0.2212, allocations: 46.92 MB / 358.2 MB, free: 10.45 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.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19") [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.002274/0.002274, allocations: 83.84 kB / 0.4925 GB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1251, allocations: 66.01 MB / 0.557 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003086/0.1282, allocations: 1.605 MB / 0.5586 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1299, allocations: 1.171 MB / 0.5597 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.517e-05/0.13, allocations: 0 / 0.5597 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.1302, allocations: 23.78 kB / 0.5597 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.1305, allocations: 83.62 kB / 0.5598 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.1307, allocations: 95.5 kB / 0.5599 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.1309, allocations: 75.75 kB / 0.56 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.077e-05/0.131, allocations: 4 kB / 0.56 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.504e-05/0.131, allocations: 31.86 kB / 0.56 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1312, allocations: 27.84 kB / 0.56 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.1312, allocations: 4 kB / 0.56 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.1314, allocations: 103.9 kB / 0.5601 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.1314, allocations: 19.86 kB / 0.5601 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.1315, allocations: 23.81 kB / 0.5602 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.1318, allocations: 143.5 kB / 0.5603 GB, free: 2.121 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1318, allocations: 0 / 0.5603 GB, free: 2.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1318, allocations: 0 / 0.5603 GB, free: 2.121 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1318, allocations: 0 / 0.5603 GB, free: 2.121 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005141/0.1323, allocations: 398.8 kB / 0.5607 GB, free: 1.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1323, allocations: 12.03 kB / 0.5607 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.1324, allocations: 8.891 kB / 0.5607 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.1327, allocations: 197.8 kB / 0.5609 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1327, allocations: 4.375 kB / 0.5609 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.1327, allocations: 8.375 kB / 0.5609 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1328, allocations: 59.95 kB / 0.561 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1329, allocations: 192 / 0.561 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1329, allocations: 7.938 kB / 0.561 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1329, allocations: 0 / 0.561 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.834e-05/0.133, allocations: 19.98 kB / 0.561 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.1333, allocations: 280.9 kB / 0.5613 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.1336, allocations: 42.5 kB / 0.5613 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.1336, allocations: 16.86 kB / 0.5613 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.1336, allocations: 3.984 kB / 0.5613 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1337, allocations: 34.64 kB / 0.5613 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.1337, allocations: 3.938 kB / 0.5614 GB, free: 0.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005767/0.1342, allocations: 141.7 kB / 0.5615 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.1343, allocations: 77.11 kB / 0.5616 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1345, allocations: 144 kB / 0.5617 GB, free: 500 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1345, allocations: 29.7 kB / 0.5617 GB, free: 464 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.1345, allocations: 92.12 kB / 0.5618 GB, free: 368 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.1345, allocations: 27.73 kB / 0.5618 GB, free: 340 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.1346, allocations: 25.7 kB / 0.5619 GB, free: 308 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1347, allocations: 318.8 kB / 0.5622 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/0.1348, allocations: 15.98 kB / 0.5622 GB, free: 15.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.839e-05/0.1349, allocations: 33.7 kB / 0.5622 GB, free: 15.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.135, allocations: 48.77 kB / 0.5623 GB, free: 15.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.135, allocations: 4.031 kB / 0.5623 GB, free: 15.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002039/0.1352, allocations: 81.86 kB / 0.5623 GB, free: 15.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1352, allocations: 4 kB / 0.5624 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1353, allocations: 4 kB / 0.5624 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1353, allocations: 0 / 0.5624 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.777e-05/0.1353, allocations: 19.92 kB / 0.5624 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1353, allocations: 0 / 0.5624 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.316e-05/0.1354, allocations: 11.98 kB / 0.5624 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1354, allocations: 8 kB / 0.5624 GB, free: 15.74 MB / 430.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 8.576e-05/0.1355, allocations: 113.8 kB / 0.5625 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.1355, allocations: 7.953 kB / 0.5625 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.1358, allocations: 89.95 kB / 0.5626 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1358, allocations: 0 / 0.5626 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1358, allocations: 0 / 0.5626 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1358, allocations: 4 kB / 0.5626 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.1362, allocations: 354.4 kB / 0.5629 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1362, allocations: 0 / 0.5629 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.655e-05/0.1363, allocations: 11.98 kB / 0.5629 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1363, allocations: 0 / 0.5629 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1363, allocations: 4 kB / 0.563 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.1363, allocations: 4 kB / 0.563 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/0.1363, allocations: 3.938 kB / 0.563 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1366, allocations: 183.4 kB / 0.5631 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.1366, allocations: 81.06 kB / 0.5632 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.1366, allocations: 0 / 0.5632 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.1367, allocations: 4 kB / 0.5632 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.1367, allocations: 11.92 kB / 0.5632 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1367, allocations: 192 / 0.5632 GB, free: 14.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1368, allocations: 121.6 kB / 0.5633 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1368, allocations: 4 kB / 0.5633 GB, free: 14.65 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002881/0.1371, allocations: 39.81 kB / 0.5634 GB, free: 14.61 MB / 430.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.001709/0.1388, allocations: 498.9 kB / 0.5639 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.1391, allocations: 47.91 kB / 0.5639 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1391, allocations: 0 / 0.5639 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.627e-05/0.1391, allocations: 23.98 kB / 0.5639 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.1395, allocations: 18.42 kB / 0.5639 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.1399, allocations: 195.2 kB / 0.5641 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1402, allocations: 0.6885 MB / 0.5648 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.1403, allocations: 15.44 kB / 0.5648 GB, free: 13.25 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1403, allocations: 0 / 0.5648 GB, free: 13.25 MB / 430.1 MB Notification: Performance of Templates: time 0.003904/0.1442, allocations: 1.943 MB / 0.5667 GB, free: 11.3 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.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.68001390399877]