Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001921/0.001921, allocations: 112.9 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.002014/0.002014, 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.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.2355/0.2355, 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.CombiTable1Dv.Test18,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",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,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",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18") [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.002291/0.002291, allocations: 91.84 kB / 0.4924 GB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1486, allocations: 65.99 MB / 0.5568 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003423/0.152, allocations: 1.624 MB / 0.5584 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.154, allocations: 1.179 MB / 0.5596 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.471e-05/0.154, allocations: 8 kB / 0.5596 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.1543, allocations: 31.83 kB / 0.5596 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.1546, allocations: 79.62 kB / 0.5597 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.1549, allocations: 111.2 kB / 0.5598 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.1551, allocations: 79.81 kB / 0.5599 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1552, allocations: 19.98 kB / 0.5599 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.673e-05/0.1553, allocations: 31.8 kB / 0.5599 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.1555, allocations: 43.83 kB / 0.5599 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.1555, allocations: 8 kB / 0.56 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.1557, allocations: 99.88 kB / 0.56 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.399e-05/0.1557, allocations: 15.92 kB / 0.5601 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.1559, allocations: 39.78 kB / 0.5601 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.1562, allocations: 143.5 kB / 0.5602 GB, free: 2.379 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1562, allocations: 0 / 0.5602 GB, free: 2.379 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1562, allocations: 4 kB / 0.5602 GB, free: 2.375 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1562, allocations: 3.938 kB / 0.5602 GB, free: 2.371 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.0006934/0.1569, allocations: 422.7 kB / 0.5606 GB, free: 1.906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1569, allocations: 8.031 kB / 0.5607 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.157, allocations: 8.891 kB / 0.5607 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.1572, allocations: 196.3 kB / 0.5608 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1572, allocations: 384 / 0.5608 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.1573, allocations: 8.312 kB / 0.5609 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.1575, allocations: 83.88 kB / 0.5609 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.1575, allocations: 8.141 kB / 0.5609 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1575, allocations: 7.938 kB / 0.561 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.1575, allocations: 4 kB / 0.561 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.1576, allocations: 35.97 kB / 0.561 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.1581, allocations: 312.7 kB / 0.5613 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.1583, allocations: 50.56 kB / 0.5613 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.432e-05/0.1583, allocations: 28.97 kB / 0.5614 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1584, allocations: 4 kB / 0.5614 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.1584, allocations: 30.56 kB / 0.5614 GB, free: 1.016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1584, allocations: 0 / 0.5614 GB, free: 1.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007151/0.1591, allocations: 197.4 kB / 0.5616 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.1592, allocations: 81.11 kB / 0.5617 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.1594, allocations: 163.2 kB / 0.5618 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1594, allocations: 25.7 kB / 0.5618 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.1594, allocations: 92.14 kB / 0.5619 GB, free: 436 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/0.1595, allocations: 31.73 kB / 0.562 GB, free: 404 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.1596, allocations: 17.72 kB / 0.562 GB, free: 380 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.1598, allocations: 326.8 kB / 0.5623 GB, free: 44 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.33e-05/0.1599, allocations: 35.91 kB / 0.5623 GB, free: 8 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.16, allocations: 45.7 kB / 0.5624 GB, free: 15.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.1602, allocations: 72.81 kB / 0.5624 GB, free: 15.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1602, allocations: 0 / 0.5624 GB, free: 15.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002325/0.1604, allocations: 105.6 kB / 0.5625 GB, free: 15.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1604, allocations: 8 kB / 0.5625 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1604, allocations: 0 / 0.5625 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1604, allocations: 4.031 kB / 0.5626 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1605, allocations: 23.92 kB / 0.5626 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1605, allocations: 3.938 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.1606, allocations: 7.984 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.1606, allocations: 4.25 kB / 0.5626 GB, free: 15.72 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 (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.0001085/0.1608, allocations: 121.8 kB / 0.5627 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.1608, allocations: 11.91 kB / 0.5627 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.1611, allocations: 130.3 kB / 0.5628 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1611, allocations: 3.938 kB / 0.5628 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1611, allocations: 0 / 0.5628 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1611, allocations: 3.938 kB / 0.5628 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000568/0.1617, allocations: 402.4 kB / 0.5632 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1617, allocations: 0 / 0.5632 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.1618, allocations: 16.36 kB / 0.5632 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.1618, allocations: 8 kB / 0.5633 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1618, allocations: 11.88 kB / 0.5633 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1618, allocations: 4 kB / 0.5633 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1618, allocations: 3.984 kB / 0.5633 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.1621, allocations: 203.5 kB / 0.5635 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.1621, allocations: 85.06 kB / 0.5635 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.1622, allocations: 3.938 kB / 0.5636 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.1622, allocations: 11.98 kB / 0.5636 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.1623, allocations: 4 kB / 0.5636 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.1623, allocations: 4 kB / 0.5636 GB, free: 14.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.1624, allocations: 121.4 kB / 0.5637 GB, free: 14.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1624, allocations: 0 / 0.5637 GB, free: 14.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000291/0.1627, allocations: 39.86 kB / 0.5637 GB, free: 14.45 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.001748/0.1644, allocations: 0.4912 MB / 0.5642 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003171/0.1648, allocations: 71.94 kB / 0.5643 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1648, allocations: 0 / 0.5643 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.1649, allocations: 39.92 kB / 0.5643 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.1652, allocations: 15.98 kB / 0.5643 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005647/0.1658, allocations: 223.7 kB / 0.5645 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1661, allocations: 0.7041 MB / 0.5652 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/0.1662, allocations: 15.44 kB / 0.5652 GB, free: 13.01 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1662, allocations: 0 / 0.5652 GB, free: 13.01 MB / 430.1 MB Notification: Performance of Templates: time 0.0046/0.1708, allocations: 2.165 MB / 0.5674 GB, free: 10.84 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.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.126479046884924]