Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.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.00137/0.00137, allocations: 116.2 kB / 18.5 MB, free: 4.543 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.001532/0.001532, allocations: 201 kB / 21.45 MB, free: 1.59 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.583/1.583, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2522/0.2522, allocations: 46.89 MB / 357.4 MB, free: 10.51 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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12") [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.002404/0.002404, allocations: 75.88 kB / 0.4917 GB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1496, allocations: 65.99 MB / 0.5562 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003168/0.1527, allocations: 1.658 MB / 0.5578 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.1546, allocations: 1.214 MB / 0.559 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.365e-05/0.1547, allocations: 0 / 0.559 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.1549, allocations: 31.78 kB / 0.559 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.1553, allocations: 79.62 kB / 0.5591 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.1557, allocations: 183.1 kB / 0.5592 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.1559, allocations: 79.77 kB / 0.5593 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.156, allocations: 15.98 kB / 0.5593 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.558e-05/0.1561, allocations: 35.84 kB / 0.5594 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.1563, allocations: 31.84 kB / 0.5594 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1563, allocations: 4 kB / 0.5594 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.1565, allocations: 103.9 kB / 0.5595 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-05/0.1566, allocations: 31.91 kB / 0.5595 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.1566, allocations: 27.8 kB / 0.5596 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.1569, allocations: 151.4 kB / 0.5597 GB, free: 2.258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1569, allocations: 0 / 0.5597 GB, free: 2.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1569, allocations: 0 / 0.5597 GB, free: 2.258 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.157, allocations: 0 / 0.5597 GB, free: 2.258 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.0007433/0.1577, allocations: 414.8 kB / 0.5601 GB, free: 1.801 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/0.1578, allocations: 8.031 kB / 0.5601 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.293e-05/0.1578, allocations: 8.891 kB / 0.5601 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.1582, allocations: 196.2 kB / 0.5603 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1582, allocations: 4.375 kB / 0.5603 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.1583, allocations: 4.375 kB / 0.5603 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.1586, allocations: 83.84 kB / 0.5604 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.1586, allocations: 8.125 kB / 0.5604 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.1586, allocations: 3.938 kB / 0.5604 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1586, allocations: 0 / 0.5604 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.1588, allocations: 51.89 kB / 0.5604 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/0.1595, allocations: 312.7 kB / 0.5607 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.1597, allocations: 42.55 kB / 0.5608 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.94e-05/0.1598, allocations: 24.94 kB / 0.5608 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.1598, allocations: 4 kB / 0.5608 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.1599, allocations: 34.56 kB / 0.5608 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.1599, allocations: 0 / 0.5608 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.001073/0.161, allocations: 233.3 kB / 0.5611 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.956e-05/0.1611, allocations: 77.11 kB / 0.5611 GB, free: 0.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1613, allocations: 147.8 kB / 0.5613 GB, free: 440 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.838e-05/0.1613, allocations: 33.7 kB / 0.5613 GB, free: 400 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.949e-05/0.1614, allocations: 96.08 kB / 0.5614 GB, free: 300 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.1615, allocations: 19.8 kB / 0.5614 GB, free: 280 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/0.1615, allocations: 25.7 kB / 0.5615 GB, free: 248 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.1618, allocations: 318.8 kB / 0.5618 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1619, allocations: 48.03 kB / 0.5618 GB, free: 15.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.162, allocations: 57.61 kB / 0.5619 GB, free: 15.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.1623, allocations: 88.8 kB / 0.5619 GB, free: 15.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1623, allocations: 0 / 0.5619 GB, free: 15.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003258/0.1626, allocations: 125.6 kB / 0.5621 GB, free: 15.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1626, allocations: 4 kB / 0.5621 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1626, allocations: 0 / 0.5621 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1626, allocations: 4 kB / 0.5621 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.1628, allocations: 19.97 kB / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.1628, allocations: 7.938 kB / 0.5621 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.856e-05/0.1629, allocations: 8 kB / 0.5621 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.1629, allocations: 8 kB / 0.5621 GB, free: 15.54 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 (7): * Single equations (assignments): 7 * 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.0001183/0.163, allocations: 121.8 kB / 0.5622 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.163, allocations: 7.953 kB / 0.5622 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/0.1634, allocations: 134.3 kB / 0.5624 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1634, allocations: 0 / 0.5624 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.1634, allocations: 8 kB / 0.5624 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1634, allocations: 0 / 0.5624 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006557/0.1641, allocations: 418.7 kB / 0.5628 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1641, allocations: 3.938 kB / 0.5628 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-05/0.1642, allocations: 19.97 kB / 0.5628 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1642, allocations: 4 kB / 0.5628 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1642, allocations: 8 kB / 0.5628 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1642, allocations: 3.938 kB / 0.5628 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1642, allocations: 4.016 kB / 0.5628 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.1646, allocations: 227.3 kB / 0.563 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.1646, allocations: 85.06 kB / 0.5631 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.1647, allocations: 0 / 0.5631 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.703e-05/0.1648, allocations: 19.92 kB / 0.5631 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.1648, allocations: 7.984 kB / 0.5631 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1648, allocations: 4 kB / 0.5631 GB, free: 14.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.165, allocations: 117.1 kB / 0.5633 GB, free: 14.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.165, allocations: 0 / 0.5633 GB, free: 14.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003085/0.1653, allocations: 35.88 kB / 0.5633 GB, free: 14.23 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 (7): * Single equations (assignments): 7 * 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.001887/0.1671, allocations: 489.9 kB / 0.5638 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004178/0.1676, allocations: 99.84 kB / 0.5638 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1676, allocations: 0 / 0.5638 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.1677, allocations: 43.97 kB / 0.5639 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.1681, allocations: 16.98 kB / 0.5639 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006508/0.1688, allocations: 226.1 kB / 0.5641 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.1692, allocations: 0.7078 MB / 0.5648 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.968e-05/0.1693, allocations: 24.64 kB / 0.5648 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.1693, allocations: 23.42 kB / 0.5649 GB, free: 12.73 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1693, allocations: 4 kB / 0.5649 GB, free: 12.72 MB / 430.1 MB Notification: Performance of Templates: time 0.006085/0.1754, allocations: 1.929 MB / 0.5667 GB, free: 10.8 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.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: 5.283083146438003]