Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.00134/0.00134, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001397/0.001397, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.495/1.495, 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.2544/0.2544, allocations: 46.89 MB / 358.1 MB, free: 10.5 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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.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.002603/0.002603, allocations: 87.84 kB / 0.4924 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1465, allocations: 65.98 MB / 0.5568 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003756/0.1503, allocations: 1.63 MB / 0.5584 GB, free: 4.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1515, allocations: 0.5527 MB / 0.559 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.725e-05/0.1516, allocations: 0 / 0.559 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.1519, allocations: 79.75 kB / 0.559 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.1524, allocations: 107.6 kB / 0.5591 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.1528, allocations: 111.2 kB / 0.5592 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.153, allocations: 83.8 kB / 0.5593 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1531, allocations: 15.98 kB / 0.5593 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.686e-05/0.1532, allocations: 35.91 kB / 0.5594 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.1533, allocations: 63.69 kB / 0.5594 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1533, allocations: 4 kB / 0.5594 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.1535, allocations: 55.97 kB / 0.5595 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.137e-05/0.1536, allocations: 19.92 kB / 0.5595 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.1536, allocations: 27.75 kB / 0.5595 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.1539, allocations: 107.6 kB / 0.5596 GB, free: 3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1539, allocations: 0 / 0.5596 GB, free: 3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1539, allocations: 0 / 0.5596 GB, free: 3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1539, allocations: 0 / 0.5596 GB, free: 3 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.0006539/0.1546, allocations: 418.6 kB / 0.56 GB, free: 2.539 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1546, allocations: 8.031 kB / 0.56 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.628e-05/0.1547, allocations: 16.84 kB / 0.5601 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.1549, allocations: 212.8 kB / 0.5603 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1549, allocations: 384 / 0.5603 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.155, allocations: 8.312 kB / 0.5603 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1551, allocations: 54.23 kB / 0.5603 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.1552, allocations: 192 / 0.5603 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1552, allocations: 3.938 kB / 0.5603 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1552, allocations: 0 / 0.5603 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.1553, allocations: 35.91 kB / 0.5604 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.1558, allocations: 304.8 kB / 0.5607 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.1559, allocations: 42.56 kB / 0.5607 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.156, allocations: 16.94 kB / 0.5607 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.156, allocations: 80 / 0.5607 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.1561, allocations: 42.5 kB / 0.5608 GB, free: 1.691 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1561, allocations: 4 kB / 0.5608 GB, free: 1.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001047/0.1571, allocations: 233.2 kB / 0.561 GB, free: 1.453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.1572, allocations: 51.41 kB / 0.561 GB, free: 1.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.1574, allocations: 214.4 kB / 0.5612 GB, free: 1.172 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.1575, allocations: 29.7 kB / 0.5613 GB, free: 1.137 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.798e-05/0.1576, allocations: 112 kB / 0.5614 GB, free: 1.023 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.1576, allocations: 23.8 kB / 0.5614 GB, free: 1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.1577, allocations: 17.72 kB / 0.5614 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1578, allocations: 330.8 kB / 0.5617 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.771e-05/0.1579, allocations: 31.97 kB / 0.5618 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.201e-05/0.158, allocations: 27.98 kB / 0.5618 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.1582, allocations: 76.81 kB / 0.5619 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1582, allocations: 3.938 kB / 0.5619 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002663/0.1585, allocations: 117.5 kB / 0.562 GB, free: 392 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.1585, allocations: 4 kB / 0.562 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1585, allocations: 0 / 0.562 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1585, allocations: 0 / 0.562 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1586, allocations: 19.98 kB / 0.562 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1586, allocations: 4.312 kB / 0.562 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.1587, allocations: 7.984 kB / 0.562 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1587, allocations: 0 / 0.562 GB, free: 356 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.0001305/0.1588, allocations: 133.7 kB / 0.5621 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.61e-05/0.1589, allocations: 23.83 kB / 0.5622 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.1592, allocations: 123 kB / 0.5623 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.1592, allocations: 4 kB / 0.5623 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1592, allocations: 4.422 kB / 0.5623 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1592, allocations: 0 / 0.5623 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006332/0.1598, allocations: 431.2 kB / 0.5627 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1598, allocations: 3.984 kB / 0.5627 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.818e-05/0.1599, allocations: 12 kB / 0.5627 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1599, allocations: 4 kB / 0.5627 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1599, allocations: 15.84 kB / 0.5627 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1599, allocations: 7.969 kB / 0.5627 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1599, allocations: 4 kB / 0.5627 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.1602, allocations: 204.3 kB / 0.5629 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.1603, allocations: 85.02 kB / 0.563 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.1603, allocations: 7.938 kB / 0.563 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.802e-05/0.1604, allocations: 15.98 kB / 0.563 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.1605, allocations: 0 / 0.563 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.1605, allocations: 4 kB / 0.563 GB, free: 15.17 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.1606, allocations: 172.2 kB / 0.5632 GB, free: 15 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1606, allocations: 0 / 0.5632 GB, free: 15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1609, allocations: 16 kB / 0.5632 GB, free: 14.98 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.00178/0.1627, allocations: 463.2 kB / 0.5637 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.1629, allocations: 67.95 kB / 0.5637 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1629, allocations: 0 / 0.5637 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.163, allocations: 47.95 kB / 0.5638 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.1635, allocations: 23.8 kB / 0.5638 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000654/0.1641, allocations: 292.4 kB / 0.5641 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.1646, allocations: 0.708 MB / 0.5648 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.1646, allocations: 19.44 kB / 0.5648 GB, free: 13.5 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1646, allocations: 0 / 0.5648 GB, free: 13.5 MB / 430.1 MB Notification: Performance of Templates: time 0.004718/0.1693, allocations: 1.827 MB / 0.5666 GB, free: 11.66 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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: 8.035282472148538]