Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001441/0.001441, 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.001664/0.001664, 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.523/1.523, allocations: 230.2 MB / 255.2 MB, free: 15.24 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.2643/0.2643, 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1") [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.003501/0.003501, allocations: 91.84 kB / 0.4924 GB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1467, allocations: 65.98 MB / 0.5568 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.005159/0.1518, allocations: 1.683 MB / 0.5585 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1535, allocations: 0.5566 MB / 0.559 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.1536, allocations: 7.938 kB / 0.559 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009231/0.1545, allocations: 451.1 kB / 0.5595 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008141/0.1553, allocations: 291.3 kB / 0.5597 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006574/0.156, allocations: 135.1 kB / 0.5599 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.1565, allocations: 171.7 kB / 0.56 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.1566, allocations: 15.98 kB / 0.56 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000345/0.1569, allocations: 111.7 kB / 0.5601 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004743/0.1574, allocations: 255.5 kB / 0.5604 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.1575, allocations: 4 kB / 0.5604 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.1577, allocations: 55.92 kB / 0.5604 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.1578, allocations: 87.61 kB / 0.5605 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.158, allocations: 99 kB / 0.5606 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000574/0.1586, allocations: 270.6 kB / 0.5609 GB, free: 1.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1586, allocations: 0 / 0.5609 GB, free: 1.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1586, allocations: 4 kB / 0.5609 GB, free: 1.734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.1586, allocations: 4 kB / 0.5609 GB, free: 1.73 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.001261/0.1598, allocations: 0.6606 MB / 0.5615 GB, free: 1.016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.1599, allocations: 8.031 kB / 0.5615 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.16, allocations: 44.66 kB / 0.5616 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.1605, allocations: 308.5 kB / 0.5619 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1605, allocations: 4.375 kB / 0.5619 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.1605, allocations: 8.375 kB / 0.5619 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.1608, allocations: 58.23 kB / 0.562 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.1608, allocations: 4.188 kB / 0.562 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.1608, allocations: 3.938 kB / 0.562 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1608, allocations: 0 / 0.562 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.1609, allocations: 35.91 kB / 0.562 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000759/0.1617, allocations: 392.7 kB / 0.5624 GB, free: 76 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.1618, allocations: 46.59 kB / 0.5624 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.162, allocations: 21 kB / 0.5624 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.162, allocations: 0 / 0.5624 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.162, allocations: 34.56 kB / 0.5625 GB, free: 15.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.162, allocations: 0 / 0.5625 GB, free: 15.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.001366/0.1634, allocations: 324.7 kB / 0.5628 GB, free: 15.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.1634, allocations: 51.41 kB / 0.5628 GB, free: 15.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.1648, allocations: 0.8653 MB / 0.5637 GB, free: 14.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1648, allocations: 25.7 kB / 0.5637 GB, free: 14.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.1651, allocations: 220.1 kB / 0.5639 GB, free: 14.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.1651, allocations: 31.73 kB / 0.5639 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.1653, allocations: 25.72 kB / 0.564 GB, free: 14.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002468/0.1655, allocations: 366.7 kB / 0.5643 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1657, allocations: 27.92 kB / 0.5643 GB, free: 13.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.1658, allocations: 19.98 kB / 0.5644 GB, free: 13.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.166, allocations: 68.77 kB / 0.5644 GB, free: 13.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.166, allocations: 0 / 0.5644 GB, free: 13.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004102/0.1664, allocations: 141.4 kB / 0.5646 GB, free: 13.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1665, allocations: 4 kB / 0.5646 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1665, allocations: 96 / 0.5646 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.1665, allocations: 3.984 kB / 0.5646 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.1667, allocations: 23.92 kB / 0.5646 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1667, allocations: 0 / 0.5646 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.183e-05/0.1668, allocations: 11.94 kB / 0.5646 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.1668, allocations: 3.938 kB / 0.5646 GB, free: 13.7 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.000317/0.1671, allocations: 217.8 kB / 0.5648 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.1672, allocations: 47.67 kB / 0.5649 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000496/0.1677, allocations: 153.8 kB / 0.565 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1677, allocations: 0 / 0.565 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.1677, allocations: 0 / 0.565 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.1677, allocations: 3.938 kB / 0.565 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.1687, allocations: 0.5187 MB / 0.5655 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1687, allocations: 0 / 0.5655 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.1688, allocations: 23.98 kB / 0.5655 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.1688, allocations: 3.938 kB / 0.5655 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1688, allocations: 4 kB / 0.5655 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1688, allocations: 0 / 0.5655 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1688, allocations: 0 / 0.5655 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.1694, allocations: 248 kB / 0.5658 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.1695, allocations: 108.8 kB / 0.5659 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.1695, allocations: 7.938 kB / 0.5659 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.1697, allocations: 7.984 kB / 0.5659 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.1698, allocations: 4 kB / 0.5659 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.1698, allocations: 4 kB / 0.5659 GB, free: 12.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001217/0.171, allocations: 0.6589 MB / 0.5665 GB, free: 11.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.171, allocations: 0 / 0.5665 GB, free: 11.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004958/0.1715, allocations: 28 kB / 0.5666 GB, free: 11.56 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.002691/0.1742, allocations: 455.9 kB / 0.567 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004393/0.1746, allocations: 63.89 kB / 0.5671 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.1746, allocations: 0 / 0.5671 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.1748, allocations: 35.98 kB / 0.5671 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.1755, allocations: 22.3 kB / 0.5671 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.178, allocations: 0.8714 MB / 0.568 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000815/0.1788, allocations: 0.8221 MB / 0.5688 GB, free: 9.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/0.1789, allocations: 19.42 kB / 0.5688 GB, free: 9.395 MB / 430.1 MB Notification: Performance of SimCode: time 1.543e-06/0.1789, allocations: 0 / 0.5688 GB, free: 9.395 MB / 430.1 MB Notification: Performance of Templates: time 0.01533/0.1942, allocations: 3.954 MB / 0.5727 GB, free: 5.438 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.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.075649281963706]