Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001278/0.001278, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001394/0.001394, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.481/1.481, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 46.9 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003318/0.003318, allocations: 75.88 kB / 0.4913 GB, free: 8.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1467, allocations: 66 MB / 0.5557 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003525/0.1503, allocations: 2.049 MB / 0.5577 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.1523, allocations: 1.129 MB / 0.5588 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.1524, allocations: 4 kB / 0.5588 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005131/0.1529, allocations: 275 kB / 0.5591 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005354/0.1535, allocations: 259 kB / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.1549, allocations: 0.6573 MB / 0.56 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004756/0.1554, allocations: 347 kB / 0.5603 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.1556, allocations: 60.69 kB / 0.5604 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.1558, allocations: 155.4 kB / 0.5605 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.156, allocations: 227.2 kB / 0.5607 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.1561, allocations: 12 kB / 0.5607 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.1562, allocations: 79.97 kB / 0.5608 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.1564, allocations: 99.59 kB / 0.5609 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.1565, allocations: 138.8 kB / 0.561 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004559/0.157, allocations: 350.2 kB / 0.5614 GB, free: 392 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.157, allocations: 4 kB / 0.5614 GB, free: 388 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.157, allocations: 0 / 0.5614 GB, free: 388 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.157, allocations: 0 / 0.5614 GB, free: 388 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008946/0.1579, allocations: 0.7074 MB / 0.5621 GB, free: 15.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1579, allocations: 12.03 kB / 0.5621 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.1579, allocations: 38.75 kB / 0.5621 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.317e-05/0.158, allocations: 44.66 kB / 0.5622 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/0.1585, allocations: 354.4 kB / 0.5625 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1585, allocations: 8.375 kB / 0.5625 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.1586, allocations: 16.31 kB / 0.5625 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.1588, allocations: 130.1 kB / 0.5626 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.1589, allocations: 7.891 kB / 0.5627 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.1589, allocations: 8 kB / 0.5627 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1589, allocations: 4 kB / 0.5627 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.1591, allocations: 91.88 kB / 0.5628 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008362/0.1599, allocations: 0.5082 MB / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1601, allocations: 106.5 kB / 0.5633 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.265e-05/0.1602, allocations: 40.83 kB / 0.5634 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.1603, allocations: 11.98 kB / 0.5634 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.1603, allocations: 30.56 kB / 0.5634 GB, free: 14.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.1603, allocations: 0 / 0.5634 GB, free: 14.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.00115/0.1614, allocations: 458.9 kB / 0.5639 GB, free: 13.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.1615, allocations: 59.31 kB / 0.5639 GB, free: 13.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007216/0.1622, allocations: 0.6034 MB / 0.5645 GB, free: 12.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.1622, allocations: 25.7 kB / 0.5645 GB, free: 12.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.1624, allocations: 216.4 kB / 0.5647 GB, free: 12.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.234e-05/0.1625, allocations: 71.36 kB / 0.5648 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.1626, allocations: 37.64 kB / 0.5648 GB, free: 12.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1628, allocations: 354.8 kB / 0.5652 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1629, allocations: 63.95 kB / 0.5652 GB, free: 12.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.163, allocations: 71.95 kB / 0.5653 GB, free: 12.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.1633, allocations: 150.5 kB / 0.5655 GB, free: 11.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1633, allocations: 0 / 0.5655 GB, free: 11.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004021/0.1637, allocations: 241.2 kB / 0.5657 GB, free: 11.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1637, allocations: 4 kB / 0.5657 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.1637, allocations: 0 / 0.5657 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.1638, allocations: 0 / 0.5657 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.1639, allocations: 43.91 kB / 0.5657 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1639, allocations: 0 / 0.5657 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.163e-05/0.164, allocations: 12 kB / 0.5657 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.164, allocations: 4 kB / 0.5657 GB, free: 11.66 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 (17): * Single equations (assignments): 17 * 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.0001795/0.1642, allocations: 177.8 kB / 0.5659 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/0.1643, allocations: 51.61 kB / 0.566 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005476/0.1648, allocations: 287.7 kB / 0.5662 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.495e-06/0.1648, allocations: 7.984 kB / 0.5662 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1648, allocations: 0 / 0.5662 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1648, allocations: 3.984 kB / 0.5663 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009994/0.1658, allocations: 0.6934 MB / 0.5669 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1658, allocations: 0 / 0.5669 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.166, allocations: 35.92 kB / 0.567 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.166, allocations: 7.938 kB / 0.567 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.166, allocations: 4 kB / 0.567 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.166, allocations: 0 / 0.567 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.166, allocations: 3.984 kB / 0.567 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004871/0.1665, allocations: 336.6 kB / 0.5673 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.1666, allocations: 120.8 kB / 0.5674 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.1666, allocations: 4 kB / 0.5674 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1667, allocations: 15.98 kB / 0.5674 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.1668, allocations: 15.92 kB / 0.5674 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1668, allocations: 4 kB / 0.5675 GB, free: 9.793 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005436/0.1674, allocations: 450.8 kB / 0.5679 GB, free: 9.355 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1674, allocations: 0 / 0.5679 GB, free: 9.355 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.1677, allocations: 51.92 kB / 0.5679 GB, free: 9.305 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 (17): * Single equations (assignments): 17 * 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.003517/0.1712, allocations: 1.466 MB / 0.5694 GB, free: 8.117 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004277/0.1716, allocations: 163.8 kB / 0.5695 GB, free: 7.957 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.1716, allocations: 0 / 0.5695 GB, free: 7.957 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.1718, allocations: 87.89 kB / 0.5696 GB, free: 7.871 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006122/0.1724, allocations: 81.08 kB / 0.5697 GB, free: 7.797 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/0.177, allocations: 3.349 MB / 0.573 GB, free: 4.371 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005763/0.1776, allocations: 0.8299 MB / 0.5738 GB, free: 3.516 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002067/0.1778, allocations: 58.23 kB / 0.5738 GB, free: 3.457 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.178, allocations: 135.4 kB / 0.5739 GB, free: 3.324 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.178, allocations: 0 / 0.5739 GB, free: 3.324 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.2088, allocations: 7.921 MB / 0.5817 GB, free: 11.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.606/8.814, allocations: 8.062 kB / 0.5817 GB, free: 11.43 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.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: 12.229385264683515]