Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001553/0.001553, allocations: 111.9 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.001675/0.001675, allocations: 208.9 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.492/1.492, allocations: 230.2 MB / 255.1 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.2551/0.2551, allocations: 46.89 MB / 358.1 MB, free: 10.61 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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16") [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.00222/0.00222, allocations: 80.14 kB / 0.4924 GB, free: 8.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1416, allocations: 65.99 MB / 0.5568 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003371/0.1449, allocations: 1.628 MB / 0.5584 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.146, allocations: 0.5488 MB / 0.559 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.1461, allocations: 0 / 0.559 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.1464, allocations: 83.7 kB / 0.559 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.1467, allocations: 107.6 kB / 0.5591 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.1471, allocations: 107.2 kB / 0.5592 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.1472, allocations: 91.73 kB / 0.5593 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1474, allocations: 12 kB / 0.5593 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.998e-05/0.1474, allocations: 31.91 kB / 0.5594 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1476, allocations: 67.73 kB / 0.5594 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.1476, allocations: 4 kB / 0.5594 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1477, allocations: 51.97 kB / 0.5595 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.732e-05/0.1477, allocations: 23.86 kB / 0.5595 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.1478, allocations: 27.75 kB / 0.5595 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.148, allocations: 107.6 kB / 0.5596 GB, free: 3.066 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.148, allocations: 4 kB / 0.5596 GB, free: 3.062 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.148, allocations: 0 / 0.5596 GB, free: 3.062 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.148, allocations: 0 / 0.5596 GB, free: 3.062 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005976/0.1486, allocations: 414.7 kB / 0.56 GB, free: 2.605 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1487, allocations: 8.031 kB / 0.56 GB, free: 2.598 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.1487, allocations: 16.84 kB / 0.5601 GB, free: 2.582 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.149, allocations: 208.8 kB / 0.5603 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.149, allocations: 384 / 0.5603 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.149, allocations: 4.375 kB / 0.5603 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1492, allocations: 58.23 kB / 0.5603 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1492, allocations: 4.125 kB / 0.5603 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1492, allocations: 3.938 kB / 0.5603 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.1492, allocations: 4 kB / 0.5603 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1493, allocations: 23.97 kB / 0.5604 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.1497, allocations: 304.7 kB / 0.5606 GB, free: 1.887 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.1499, allocations: 46.55 kB / 0.5607 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.1499, allocations: 20.94 kB / 0.5607 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.1499, allocations: 4 kB / 0.5607 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.15, allocations: 30.56 kB / 0.5607 GB, free: 1.766 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.15, allocations: 0 / 0.5607 GB, free: 1.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009872/0.151, allocations: 241.7 kB / 0.561 GB, free: 1.523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.151, allocations: 55.34 kB / 0.561 GB, free: 1.457 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.1512, allocations: 206.4 kB / 0.5612 GB, free: 1.246 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1513, allocations: 33.7 kB / 0.5613 GB, free: 1.207 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.1513, allocations: 108 kB / 0.5614 GB, free: 1.098 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.1514, allocations: 31.8 kB / 0.5614 GB, free: 1.066 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.1514, allocations: 17.72 kB / 0.5614 GB, free: 1.043 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1516, allocations: 326.8 kB / 0.5617 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.942e-05/0.1517, allocations: 31.97 kB / 0.5617 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.278e-05/0.1517, allocations: 31.98 kB / 0.5618 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.1519, allocations: 76.75 kB / 0.5619 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1519, allocations: 4 kB / 0.5619 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002376/0.1521, allocations: 117.5 kB / 0.562 GB, free: 460 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1522, allocations: 4 kB / 0.562 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1522, allocations: 0 / 0.562 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1522, allocations: 0 / 0.562 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1523, allocations: 19.98 kB / 0.562 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1523, allocations: 0 / 0.562 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.1523, allocations: 15.92 kB / 0.562 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1523, allocations: 0 / 0.562 GB, free: 420 kB / 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 (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.000103/0.1524, allocations: 133.8 kB / 0.5621 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.1525, allocations: 15.91 kB / 0.5621 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.1528, allocations: 131.3 kB / 0.5623 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.1528, allocations: 4 kB / 0.5623 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1528, allocations: 4 kB / 0.5623 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1528, allocations: 0 / 0.5623 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006175/0.1534, allocations: 427.2 kB / 0.5627 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1534, allocations: 0 / 0.5627 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.505e-05/0.1535, allocations: 23.98 kB / 0.5627 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1535, allocations: 0 / 0.5627 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1535, allocations: 3.938 kB / 0.5627 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1535, allocations: 0 / 0.5627 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1535, allocations: 11.92 kB / 0.5627 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.1538, allocations: 212.3 kB / 0.5629 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/0.1539, allocations: 89.02 kB / 0.563 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1539, allocations: 3.938 kB / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.154, allocations: 7.984 kB / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.154, allocations: 8 kB / 0.563 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.154, allocations: 0 / 0.563 GB, free: 15.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.1542, allocations: 172.2 kB / 0.5632 GB, free: 15.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1542, allocations: 0 / 0.5632 GB, free: 15.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1544, allocations: 20 kB / 0.5632 GB, free: 15.05 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.001682/0.1561, allocations: 456.4 kB / 0.5637 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.1564, allocations: 75.89 kB / 0.5637 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1564, allocations: 0 / 0.5637 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1565, allocations: 43.91 kB / 0.5638 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.1569, allocations: 15.98 kB / 0.5638 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.1575, allocations: 296.4 kB / 0.5641 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.1579, allocations: 0.7119 MB / 0.5648 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.1579, allocations: 15.44 kB / 0.5648 GB, free: 13.57 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1579, allocations: 0 / 0.5648 GB, free: 13.57 MB / 430.1 MB Notification: Performance of Templates: time 0.003961/0.1619, allocations: 1.827 MB / 0.5666 GB, free: 11.74 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.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.8367259439546615]