Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001333/0.001333, allocations: 116.8 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.001395/0.001395, 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.483/1.483, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.2355/0.2355, allocations: 46.89 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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.Test30") [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.002256/0.002256, allocations: 76.06 kB / 0.4924 GB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1409, allocations: 65.98 MB / 0.5568 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003515/0.1444, allocations: 1.696 MB / 0.5585 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.1456, allocations: 0.5878 MB / 0.5591 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.182e-05/0.1457, allocations: 0 / 0.5591 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.146, allocations: 75.77 kB / 0.5591 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.1463, allocations: 99.58 kB / 0.5592 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.1469, allocations: 182.9 kB / 0.5594 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.147, allocations: 87.81 kB / 0.5595 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1472, allocations: 24.14 kB / 0.5595 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.314e-05/0.1472, allocations: 35.91 kB / 0.5595 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.1474, allocations: 67.73 kB / 0.5596 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1474, allocations: 7.938 kB / 0.5596 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1475, allocations: 59.92 kB / 0.5597 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.717e-05/0.1476, allocations: 23.91 kB / 0.5597 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.096e-05/0.1477, allocations: 31.75 kB / 0.5597 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1479, allocations: 123.5 kB / 0.5598 GB, free: 2.793 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1479, allocations: 0 / 0.5598 GB, free: 2.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1479, allocations: 0 / 0.5598 GB, free: 2.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1479, allocations: 0 / 0.5598 GB, free: 2.793 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.0006137/0.1485, allocations: 434.6 kB / 0.5603 GB, free: 2.316 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1486, allocations: 12.03 kB / 0.5603 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.1486, allocations: 8.891 kB / 0.5603 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1488, allocations: 208.1 kB / 0.5605 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1488, allocations: 8.375 kB / 0.5605 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.1489, allocations: 384 / 0.5605 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.1491, allocations: 70.16 kB / 0.5605 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1491, allocations: 192 / 0.5605 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.1491, allocations: 11.94 kB / 0.5606 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.1491, allocations: 4 kB / 0.5606 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.1493, allocations: 39.95 kB / 0.5606 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.1498, allocations: 324.8 kB / 0.5609 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.1501, allocations: 66.48 kB / 0.561 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.424e-05/0.1501, allocations: 24.97 kB / 0.561 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1502, allocations: 0 / 0.561 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.1502, allocations: 34.56 kB / 0.561 GB, free: 1.406 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.1502, allocations: 0 / 0.561 GB, free: 1.406 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.00165/0.1519, allocations: 436.9 kB / 0.5614 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.1519, allocations: 55.41 kB / 0.5615 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.1521, allocations: 218.3 kB / 0.5617 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1521, allocations: 25.7 kB / 0.5617 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.991e-05/0.1522, allocations: 108.1 kB / 0.5618 GB, free: 0.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.1523, allocations: 35.69 kB / 0.5619 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.1523, allocations: 29.7 kB / 0.5619 GB, free: 484 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1525, allocations: 330.8 kB / 0.5622 GB, free: 144 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1526, allocations: 52.52 kB / 0.5623 GB, free: 92 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.1528, allocations: 55.95 kB / 0.5623 GB, free: 36 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.1531, allocations: 120.8 kB / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1531, allocations: 4 kB / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003616/0.1534, allocations: 177.3 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1535, allocations: 4 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1535, allocations: 4 kB / 0.5626 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1535, allocations: 0 / 0.5626 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1536, allocations: 31.97 kB / 0.5626 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.1536, allocations: 3.984 kB / 0.5626 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.618e-05/0.1537, allocations: 19.92 kB / 0.5627 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1537, allocations: 0 / 0.5627 GB, free: 15.67 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.0001163/0.1538, allocations: 133.8 kB / 0.5628 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.1538, allocations: 11.91 kB / 0.5628 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004545/0.1543, allocations: 191.3 kB / 0.563 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1543, allocations: 8 kB / 0.563 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1543, allocations: 3.984 kB / 0.563 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1543, allocations: 3.938 kB / 0.563 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007553/0.1551, allocations: 0.496 MB / 0.5635 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1551, allocations: 0 / 0.5635 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.1552, allocations: 35.97 kB / 0.5635 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1552, allocations: 0 / 0.5635 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1552, allocations: 4 kB / 0.5635 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1552, allocations: 0 / 0.5635 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1552, allocations: 0 / 0.5635 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.1556, allocations: 277.1 kB / 0.5638 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.1557, allocations: 89 kB / 0.5639 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.1557, allocations: 4 kB / 0.5639 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1558, allocations: 7.984 kB / 0.5639 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.1559, allocations: 15.98 kB / 0.5639 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.1559, allocations: 0 / 0.5639 GB, free: 14.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.156, allocations: 164.2 kB / 0.5641 GB, free: 14.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.156, allocations: 4 kB / 0.5641 GB, free: 14.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1563, allocations: 31.92 kB / 0.5641 GB, free: 14.08 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.001688/0.158, allocations: 472.1 kB / 0.5645 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004057/0.1584, allocations: 123.8 kB / 0.5647 GB, free: 13.67 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1584, allocations: 0 / 0.5647 GB, free: 13.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.1586, allocations: 67.89 kB / 0.5647 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.1589, allocations: 23.91 kB / 0.5647 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007408/0.1597, allocations: 358.6 kB / 0.5651 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.16, allocations: 0.7196 MB / 0.5658 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.1601, allocations: 23.36 kB / 0.5658 GB, free: 12.42 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1601, allocations: 0 / 0.5658 GB, free: 12.42 MB / 430.1 MB Notification: Performance of Templates: time 0.00421/0.1643, allocations: 2.122 MB / 0.5679 GB, free: 10.3 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.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.795342461904511]