Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.23/0.23, allocations: 46.93 MB / 357.8 MB, free: 10.3 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 59.91 kB / 0.4916 GB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1396, allocations: 65.99 MB / 0.5561 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.004798/0.1444, allocations: 2.05 MB / 0.5581 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.1466, allocations: 1.032 MB / 0.5591 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.1469, allocations: 4 kB / 0.5591 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005899/0.1475, allocations: 255.2 kB / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006966/0.1482, allocations: 259 kB / 0.5596 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.1495, allocations: 0.4896 MB / 0.5601 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006718/0.1502, allocations: 330.9 kB / 0.5604 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.1504, allocations: 52.7 kB / 0.5604 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.1507, allocations: 147.4 kB / 0.5606 GB, free: 1.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003812/0.1511, allocations: 235.2 kB / 0.5608 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.1512, allocations: 15.94 kB / 0.5608 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.1514, allocations: 99.95 kB / 0.5609 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.1516, allocations: 99.55 kB / 0.561 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.1517, allocations: 131 kB / 0.5611 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006282/0.1523, allocations: 354.2 kB / 0.5614 GB, free: 304 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1523, allocations: 0 / 0.5614 GB, free: 304 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1523, allocations: 0 / 0.5614 GB, free: 304 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.1524, allocations: 0 / 0.5614 GB, free: 304 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.00113/0.1535, allocations: 0.6996 MB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.1535, allocations: 12.03 kB / 0.5621 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.012e-05/0.1535, allocations: 4.188 kB / 0.5621 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/0.1536, allocations: 46.73 kB / 0.5622 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.1537, allocations: 52.55 kB / 0.5622 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.1542, allocations: 334.4 kB / 0.5626 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.1542, allocations: 8.375 kB / 0.5626 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.1542, allocations: 16.12 kB / 0.5626 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.1545, allocations: 105.6 kB / 0.5627 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.1545, allocations: 0 / 0.5627 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.1545, allocations: 12 kB / 0.5627 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1545, allocations: 0 / 0.5627 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.1547, allocations: 67.95 kB / 0.5628 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008264/0.1556, allocations: 0.5003 MB / 0.5633 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.1558, allocations: 86.53 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.612e-05/0.1558, allocations: 36.84 kB / 0.5634 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.1559, allocations: 3.984 kB / 0.5634 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.1559, allocations: 38.5 kB / 0.5634 GB, free: 14.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.1559, allocations: 0 / 0.5634 GB, free: 14.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001104/0.157, allocations: 398.7 kB / 0.5638 GB, free: 13.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.1571, allocations: 59.31 kB / 0.5638 GB, free: 13.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007464/0.1578, allocations: 0.5877 MB / 0.5644 GB, free: 13.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1579, allocations: 29.7 kB / 0.5644 GB, free: 13.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.158, allocations: 216.4 kB / 0.5647 GB, free: 12.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.788e-05/0.1581, allocations: 59.47 kB / 0.5647 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.294e-05/0.1582, allocations: 33.7 kB / 0.5647 GB, free: 12.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.1584, allocations: 354.7 kB / 0.5651 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.1585, allocations: 55.97 kB / 0.5651 GB, free: 12.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.1586, allocations: 51.97 kB / 0.5652 GB, free: 12.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.1589, allocations: 114.9 kB / 0.5653 GB, free: 12.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1589, allocations: 3.938 kB / 0.5653 GB, free: 12.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004052/0.1593, allocations: 209.2 kB / 0.5655 GB, free: 11.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1593, allocations: 4 kB / 0.5655 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1593, allocations: 0 / 0.5655 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1593, allocations: 8 kB / 0.5655 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.1595, allocations: 35.97 kB / 0.5655 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1595, allocations: 0 / 0.5655 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.452e-05/0.1596, allocations: 12 kB / 0.5656 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.1596, allocations: 4 kB / 0.5656 GB, free: 11.85 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.0002039/0.1598, allocations: 181.7 kB / 0.5657 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.112e-05/0.1599, allocations: 43.72 kB / 0.5658 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005219/0.1604, allocations: 239.9 kB / 0.566 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1604, allocations: 4 kB / 0.566 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.1604, allocations: 7.922 kB / 0.566 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1604, allocations: 0 / 0.566 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009226/0.1613, allocations: 0.6349 MB / 0.5666 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1613, allocations: 0 / 0.5666 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.1614, allocations: 31.92 kB / 0.5667 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1614, allocations: 8 kB / 0.5667 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1615, allocations: 4 kB / 0.5667 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1615, allocations: 3.938 kB / 0.5667 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1615, allocations: 0 / 0.5667 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.1619, allocations: 305.1 kB / 0.567 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.162, allocations: 120.8 kB / 0.5671 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.162, allocations: 8 kB / 0.5671 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.1622, allocations: 23.92 kB / 0.5671 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.1622, allocations: 11.97 kB / 0.5671 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1622, allocations: 7.938 kB / 0.5671 GB, free: 10.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004971/0.1627, allocations: 439.1 kB / 0.5676 GB, free: 9.695 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1627, allocations: 0 / 0.5676 GB, free: 9.695 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003171/0.163, allocations: 51.92 kB / 0.5676 GB, free: 9.645 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.00342/0.1664, allocations: 1.433 MB / 0.569 GB, free: 8.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003149/0.1668, allocations: 130.3 kB / 0.5691 GB, free: 8.375 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1668, allocations: 0 / 0.5691 GB, free: 8.375 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.1669, allocations: 67.91 kB / 0.5692 GB, free: 8.309 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/0.1674, allocations: 98 kB / 0.5693 GB, free: 8.223 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/0.1715, allocations: 3.172 MB / 0.5724 GB, free: 4.965 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.1719, allocations: 0.8143 MB / 0.5732 GB, free: 4.125 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.1721, allocations: 50.25 kB / 0.5732 GB, free: 4.078 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.1722, allocations: 135.4 kB / 0.5734 GB, free: 3.945 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1722, allocations: 3.938 kB / 0.5734 GB, free: 3.941 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.1968, allocations: 7.701 MB / 0.5809 GB, free: 12.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.981/9.178, allocations: 15.86 kB / 0.5809 GB, free: 12.24 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.746912867005449]