Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.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.00186/0.00186, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.002529/0.002529, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.517/1.517, allocations: 230.2 MB / 255.1 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.2756/0.2756, allocations: 46.88 MB / 358.1 MB, free: 10.54 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1") [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.00223/0.00223, allocations: 79.86 kB / 0.4924 GB, free: 8.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1255, allocations: 65.99 MB / 0.5568 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003259/0.1288, allocations: 1.679 MB / 0.5585 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1299, allocations: 0.5878 MB / 0.559 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.229e-05/0.1299, allocations: 0 / 0.559 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006187/0.1305, allocations: 463.1 kB / 0.5595 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004697/0.131, allocations: 291.2 kB / 0.5598 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.1315, allocations: 186.7 kB / 0.5599 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.1317, allocations: 171.8 kB / 0.5601 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1318, allocations: 12.22 kB / 0.5601 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.132, allocations: 119.7 kB / 0.5602 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.1323, allocations: 251.5 kB / 0.5605 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1323, allocations: 4 kB / 0.5605 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1324, allocations: 51.98 kB / 0.5605 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.1325, allocations: 87.61 kB / 0.5606 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.1326, allocations: 107 kB / 0.5607 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.133, allocations: 282.5 kB / 0.561 GB, free: 1.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.133, allocations: 0 / 0.561 GB, free: 1.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.133, allocations: 0 / 0.561 GB, free: 1.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.133, allocations: 0 / 0.561 GB, free: 1.645 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.0008085/0.1338, allocations: 0.6646 MB / 0.5616 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1338, allocations: 8.031 kB / 0.5616 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.022e-05/0.1339, allocations: 48.61 kB / 0.5617 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.1342, allocations: 304.6 kB / 0.562 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.66e-06/0.1342, allocations: 384 / 0.562 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.1343, allocations: 8.375 kB / 0.562 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1344, allocations: 70.16 kB / 0.562 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1344, allocations: 4.188 kB / 0.562 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1345, allocations: 7.938 kB / 0.5621 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1345, allocations: 4 kB / 0.5621 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.1346, allocations: 31.97 kB / 0.5621 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005751/0.1351, allocations: 408.6 kB / 0.5625 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.1353, allocations: 42.56 kB / 0.5625 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.1353, allocations: 24.94 kB / 0.5625 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.1353, allocations: 0 / 0.5625 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.1354, allocations: 38.53 kB / 0.5626 GB, free: 15.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.1354, allocations: 3.938 kB / 0.5626 GB, free: 15.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009983/0.1364, allocations: 328.5 kB / 0.5629 GB, free: 15.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.1364, allocations: 55.41 kB / 0.5629 GB, free: 15.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009109/0.1373, allocations: 0.8699 MB / 0.5638 GB, free: 14.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1373, allocations: 25.7 kB / 0.5638 GB, free: 14.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.1375, allocations: 232 kB / 0.564 GB, free: 14.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.1376, allocations: 19.86 kB / 0.5641 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.1376, allocations: 25.7 kB / 0.5641 GB, free: 14.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1378, allocations: 362.7 kB / 0.5644 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.632e-05/0.1379, allocations: 31.97 kB / 0.5645 GB, free: 13.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.217e-05/0.138, allocations: 31.98 kB / 0.5645 GB, free: 13.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.1382, allocations: 72.81 kB / 0.5646 GB, free: 13.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1382, allocations: 0 / 0.5646 GB, free: 13.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002711/0.1384, allocations: 157.5 kB / 0.5647 GB, free: 13.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1385, allocations: 9.875 kB / 0.5647 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1385, allocations: 0 / 0.5647 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1385, allocations: 0 / 0.5647 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1386, allocations: 19.98 kB / 0.5647 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.1386, allocations: 0 / 0.5647 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.175e-05/0.1387, allocations: 11.92 kB / 0.5648 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1387, allocations: 0 / 0.5648 GB, free: 13.54 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 (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.0002266/0.1389, allocations: 217.8 kB / 0.565 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.139, allocations: 43.72 kB / 0.565 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000375/0.1393, allocations: 181.4 kB / 0.5652 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1393, allocations: 0 / 0.5652 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.1393, allocations: 0 / 0.5652 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.1393, allocations: 7.922 kB / 0.5652 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007096/0.1401, allocations: 0.5187 MB / 0.5657 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1401, allocations: 4 kB / 0.5657 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.23e-05/0.1401, allocations: 15.98 kB / 0.5657 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.1401, allocations: 3.938 kB / 0.5657 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1401, allocations: 8 kB / 0.5657 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1401, allocations: 0 / 0.5657 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1401, allocations: 3.938 kB / 0.5657 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.1405, allocations: 252.6 kB / 0.566 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-05/0.1406, allocations: 120.7 kB / 0.5661 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.1406, allocations: 3.938 kB / 0.5661 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.031e-05/0.1407, allocations: 8 kB / 0.5661 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.1407, allocations: 11.97 kB / 0.5661 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.1407, allocations: 0 / 0.5661 GB, free: 12.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006882/0.1414, allocations: 0.6589 MB / 0.5667 GB, free: 11.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1414, allocations: 3.938 kB / 0.5668 GB, free: 11.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1417, allocations: 32 kB / 0.5668 GB, free: 11.34 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.00167/0.1434, allocations: 446.6 kB / 0.5672 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002619/0.1436, allocations: 71.95 kB / 0.5673 GB, free: 11.01 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1436, allocations: 4 kB / 0.5673 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.1437, allocations: 44.05 kB / 0.5673 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.1442, allocations: 36.36 kB / 0.5674 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.1455, allocations: 0.8755 MB / 0.5682 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.146, allocations: 0.8337 MB / 0.569 GB, free: 9.156 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.146, allocations: 19.44 kB / 0.569 GB, free: 9.141 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.146, allocations: 0 / 0.569 GB, free: 9.141 MB / 430.1 MB Notification: Performance of Templates: time 0.008088/0.1541, allocations: 4.044 MB / 0.573 GB, free: 5.09 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.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.799567784881219]