Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001754/0.001754, 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.002102/0.002102, 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.543/1.543, allocations: 230.2 MB / 255.1 MB, free: 15.39 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.2455/0.2455, allocations: 46.88 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4") [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.003028/0.003028, allocations: 87.86 kB / 0.4924 GB, free: 8.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1474, allocations: 65.99 MB / 0.5568 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003487/0.1509, allocations: 1.657 MB / 0.5584 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1521, allocations: 0.5644 MB / 0.559 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.864e-05/0.1521, allocations: 4 kB / 0.559 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.1525, allocations: 91.73 kB / 0.5591 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.1528, allocations: 111.6 kB / 0.5592 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.1531, allocations: 127.2 kB / 0.5593 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.1533, allocations: 103.7 kB / 0.5594 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1535, allocations: 23.98 kB / 0.5594 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.119e-05/0.1535, allocations: 43.83 kB / 0.5595 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1537, allocations: 67.8 kB / 0.5595 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.1537, allocations: 11.94 kB / 0.5596 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.1538, allocations: 43.98 kB / 0.5596 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/0.1539, allocations: 31.91 kB / 0.5596 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.065e-05/0.1539, allocations: 43.67 kB / 0.5597 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.1542, allocations: 139.3 kB / 0.5598 GB, free: 2.879 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1542, allocations: 0 / 0.5598 GB, free: 2.879 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1542, allocations: 0 / 0.5598 GB, free: 2.879 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.1542, allocations: 0 / 0.5598 GB, free: 2.879 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006109/0.1548, allocations: 434.6 kB / 0.5602 GB, free: 2.402 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1549, allocations: 16.02 kB / 0.5602 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.1549, allocations: 12.84 kB / 0.5602 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.1552, allocations: 216 kB / 0.5605 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.1552, allocations: 4.375 kB / 0.5605 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.1552, allocations: 12.38 kB / 0.5605 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.1554, allocations: 70.22 kB / 0.5605 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1554, allocations: 4.141 kB / 0.5605 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.1554, allocations: 3.938 kB / 0.5605 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1554, allocations: 4 kB / 0.5605 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.1556, allocations: 39.97 kB / 0.5606 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.1561, allocations: 352.7 kB / 0.5609 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.1563, allocations: 62.55 kB / 0.561 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.362e-05/0.1564, allocations: 20.84 kB / 0.561 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.1564, allocations: 4 kB / 0.561 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.1564, allocations: 34.5 kB / 0.561 GB, free: 1.449 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1564, allocations: 0 / 0.561 GB, free: 1.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001192/0.1576, allocations: 337.2 kB / 0.5614 GB, free: 1.113 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.545e-05/0.1577, allocations: 59.34 kB / 0.5614 GB, free: 1.043 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.158, allocations: 235.5 kB / 0.5616 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.158, allocations: 33.7 kB / 0.5617 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.1581, allocations: 116 kB / 0.5618 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.1582, allocations: 43.64 kB / 0.5618 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.1582, allocations: 29.66 kB / 0.5619 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1584, allocations: 330.8 kB / 0.5622 GB, free: 236 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.1585, allocations: 43.97 kB / 0.5622 GB, free: 192 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.1586, allocations: 43.97 kB / 0.5623 GB, free: 148 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.1588, allocations: 116.5 kB / 0.5624 GB, free: 32 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1588, allocations: 0 / 0.5624 GB, free: 32 kB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003384/0.1592, allocations: 157.8 kB / 0.5625 GB, free: 15.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1592, allocations: 4 kB / 0.5625 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1592, allocations: 0 / 0.5625 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1592, allocations: 0 / 0.5625 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1594, allocations: 23.98 kB / 0.5625 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.1594, allocations: 11.92 kB / 0.5625 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.1594, allocations: 4 kB / 0.5626 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.1594, allocations: 11.94 kB / 0.5626 GB, free: 15.81 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 (13): * Single equations (assignments): 13 * 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.0001322/0.1596, allocations: 133.8 kB / 0.5627 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.1596, allocations: 19.89 kB / 0.5627 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004267/0.16, allocations: 195.7 kB / 0.5629 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.16, allocations: 4 kB / 0.5629 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.16, allocations: 3.938 kB / 0.5629 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.16, allocations: 4 kB / 0.5629 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007321/0.1608, allocations: 0.4912 MB / 0.5634 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1608, allocations: 0 / 0.5634 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.964e-05/0.1609, allocations: 27.98 kB / 0.5634 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1609, allocations: 0 / 0.5634 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1609, allocations: 4 kB / 0.5634 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.1609, allocations: 7.984 kB / 0.5634 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1609, allocations: 4.031 kB / 0.5634 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.1613, allocations: 256.2 kB / 0.5637 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.1613, allocations: 89.02 kB / 0.5638 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.1614, allocations: 4 kB / 0.5638 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.1614, allocations: 11.98 kB / 0.5638 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.1615, allocations: 8 kB / 0.5638 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.1615, allocations: 4 kB / 0.5638 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.1617, allocations: 181.2 kB / 0.564 GB, free: 14.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1617, allocations: 0 / 0.564 GB, free: 14.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.162, allocations: 27.98 kB / 0.564 GB, free: 14.25 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 (13): * Single equations (assignments): 13 * 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.001756/0.1637, allocations: 462 kB / 0.5644 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003152/0.164, allocations: 107.9 kB / 0.5645 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.164, allocations: 0 / 0.5645 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.1642, allocations: 55.84 kB / 0.5646 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.1646, allocations: 31.73 kB / 0.5646 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000711/0.1653, allocations: 361.3 kB / 0.565 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.1657, allocations: 0.7197 MB / 0.5657 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.1657, allocations: 27.36 kB / 0.5657 GB, free: 12.61 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1657, allocations: 0 / 0.5657 GB, free: 12.61 MB / 430.1 MB Notification: Performance of Templates: time 0.004708/0.1704, allocations: 2.169 MB / 0.5678 GB, free: 10.44 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.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: 8.344438433181494]