Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001658/0.001658, 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.002002/0.002002, 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.512/1.512, allocations: 230.2 MB / 255.1 MB, free: 15.22 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.2328/0.2328, allocations: 46.88 MB / 358.1 MB, free: 10.52 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") [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.002289/0.002289, allocations: 83.84 kB / 0.4924 GB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1293, allocations: 65.98 MB / 0.5568 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003238/0.1325, allocations: 1.697 MB / 0.5585 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1336, allocations: 0.5801 MB / 0.5591 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.1337, allocations: 3.938 kB / 0.5591 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006157/0.1343, allocations: 459.1 kB / 0.5595 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004897/0.1348, allocations: 291.3 kB / 0.5598 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.1353, allocations: 187.1 kB / 0.56 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.1355, allocations: 179.7 kB / 0.5601 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1356, allocations: 20.17 kB / 0.5601 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1357, allocations: 111.8 kB / 0.5602 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.136, allocations: 263.4 kB / 0.5605 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.1361, allocations: 8 kB / 0.5605 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1362, allocations: 51.92 kB / 0.5606 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.1363, allocations: 83.69 kB / 0.5606 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.762e-05/0.1364, allocations: 103 kB / 0.5607 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.1368, allocations: 286.5 kB / 0.561 GB, free: 1.602 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1368, allocations: 3.938 kB / 0.561 GB, free: 1.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1368, allocations: 0 / 0.561 GB, free: 1.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.1368, allocations: 0 / 0.561 GB, free: 1.598 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.0008279/0.1376, allocations: 0.6762 MB / 0.5617 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1376, allocations: 15.97 kB / 0.5617 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.599e-05/0.1377, allocations: 44.66 kB / 0.5617 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.138, allocations: 308.6 kB / 0.562 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.138, allocations: 384 / 0.562 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.1381, allocations: 8.375 kB / 0.562 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.1383, allocations: 62.23 kB / 0.5621 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1383, allocations: 4.125 kB / 0.5621 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1383, allocations: 3.938 kB / 0.5621 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1383, allocations: 0 / 0.5621 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.1385, allocations: 51.95 kB / 0.5621 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.1391, allocations: 412.7 kB / 0.5625 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.1393, allocations: 62.58 kB / 0.5626 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.477e-05/0.1394, allocations: 32.95 kB / 0.5626 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.1394, allocations: 0 / 0.5626 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.1395, allocations: 34.56 kB / 0.5627 GB, free: 15.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 7.11e-07/0.1395, allocations: 0 / 0.5627 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001644/0.1411, allocations: 0.4928 MB / 0.5631 GB, free: 15.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.1412, allocations: 59.34 kB / 0.5632 GB, free: 15.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009077/0.1421, allocations: 0.8652 MB / 0.564 GB, free: 14.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1421, allocations: 25.7 kB / 0.5641 GB, free: 14.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.1423, allocations: 216.1 kB / 0.5643 GB, free: 14.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.1423, allocations: 35.69 kB / 0.5643 GB, free: 14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/0.1424, allocations: 29.66 kB / 0.5643 GB, free: 13.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.1426, allocations: 366.8 kB / 0.5647 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1427, allocations: 55.95 kB / 0.5647 GB, free: 13.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.1429, allocations: 47.97 kB / 0.5648 GB, free: 13.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.1432, allocations: 124.8 kB / 0.5649 GB, free: 13.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1432, allocations: 0 / 0.5649 GB, free: 13.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004036/0.1436, allocations: 209.2 kB / 0.5651 GB, free: 13.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1436, allocations: 8 kB / 0.5651 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1436, allocations: 0 / 0.5651 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1436, allocations: 0 / 0.5651 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1437, allocations: 31.91 kB / 0.5651 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1437, allocations: 0 / 0.5651 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.11e-05/0.1438, allocations: 19.92 kB / 0.5652 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1438, allocations: 0 / 0.5652 GB, free: 13.1 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 (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.0002125/0.144, allocations: 217.8 kB / 0.5654 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.1441, allocations: 43.72 kB / 0.5654 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004951/0.1446, allocations: 233.3 kB / 0.5656 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1446, allocations: 3.984 kB / 0.5656 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1446, allocations: 0 / 0.5656 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1446, allocations: 11.92 kB / 0.5657 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008848/0.1455, allocations: 0.5975 MB / 0.5662 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.1455, allocations: 0 / 0.5662 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.1456, allocations: 31.91 kB / 0.5663 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1456, allocations: 4 kB / 0.5663 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1456, allocations: 8.25 kB / 0.5663 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1456, allocations: 4 kB / 0.5663 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1456, allocations: 4 kB / 0.5663 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.1461, allocations: 301.4 kB / 0.5666 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.553e-05/0.1462, allocations: 120.8 kB / 0.5667 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.1462, allocations: 0 / 0.5667 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.1464, allocations: 15.98 kB / 0.5667 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.1464, allocations: 7.984 kB / 0.5667 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1464, allocations: 4 kB / 0.5667 GB, free: 11.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006714/0.1471, allocations: 0.6511 MB / 0.5674 GB, free: 10.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1471, allocations: 3.938 kB / 0.5674 GB, free: 10.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000287/0.1474, allocations: 39.92 kB / 0.5674 GB, free: 10.7 MB / 430.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.001698/0.1491, allocations: 463.2 kB / 0.5678 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003822/0.1494, allocations: 127.8 kB / 0.568 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1494, allocations: 0 / 0.568 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.1496, allocations: 63.89 kB / 0.568 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.15, allocations: 28.69 kB / 0.568 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.1514, allocations: 0.9312 MB / 0.569 GB, free: 9.238 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.1519, allocations: 0.8338 MB / 0.5698 GB, free: 8.379 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.152, allocations: 23.44 kB / 0.5698 GB, free: 8.359 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.152, allocations: 192 / 0.5698 GB, free: 8.359 MB / 430.1 MB Notification: Performance of Templates: time 0.008567/0.1606, allocations: 4.243 MB / 0.5739 GB, free: 4.109 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.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.819014336913824]