Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001486/0.001486, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.001698/0.001698, allocations: 219 kB / 21.46 MB, free: 1.586 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.574/1.574, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2399/0.2399, allocations: 44.92 MB / 355.8 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 75.83 kB / 0.4886 GB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1435, allocations: 65.41 MB / 0.5524 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.004156/0.1477, allocations: 2.055 MB / 0.5545 GB, free: 8.035 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.1499, allocations: 1.021 MB / 0.5554 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.1501, allocations: 4 kB / 0.5555 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005848/0.1507, allocations: 255.1 kB / 0.5557 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007276/0.1514, allocations: 259.1 kB / 0.5559 GB, free: 6.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.1527, allocations: 489.8 kB / 0.5564 GB, free: 6.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005634/0.1533, allocations: 330.8 kB / 0.5567 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.1535, allocations: 68.56 kB / 0.5568 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.1537, allocations: 151.4 kB / 0.5569 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003326/0.1541, allocations: 227.2 kB / 0.5572 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.311e-05/0.1541, allocations: 12 kB / 0.5572 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.1544, allocations: 104 kB / 0.5573 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.1545, allocations: 95.55 kB / 0.5574 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.1547, allocations: 131 kB / 0.5575 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006211/0.1553, allocations: 354.2 kB / 0.5578 GB, free: 4.586 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.1553, allocations: 4 kB / 0.5578 GB, free: 4.582 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1553, allocations: 0 / 0.5578 GB, free: 4.582 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.1553, allocations: 0 / 0.5578 GB, free: 4.582 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001145/0.1565, allocations: 0.6957 MB / 0.5585 GB, free: 3.836 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.1565, allocations: 12.03 kB / 0.5585 GB, free: 3.824 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.699e-05/0.1565, allocations: 4.188 kB / 0.5585 GB, free: 3.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.171e-05/0.1566, allocations: 42.73 kB / 0.5586 GB, free: 3.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.1567, allocations: 52.61 kB / 0.5586 GB, free: 3.719 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.1572, allocations: 342.4 kB / 0.5589 GB, free: 3.344 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.1572, allocations: 12.38 kB / 0.5589 GB, free: 3.332 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.1573, allocations: 16.06 kB / 0.559 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.1576, allocations: 115.8 kB / 0.5591 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1576, allocations: 0 / 0.5591 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1576, allocations: 0 / 0.5591 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1576, allocations: 4 kB / 0.5591 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.1578, allocations: 75.89 kB / 0.5591 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007636/0.1586, allocations: 0.4925 MB / 0.5596 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.1588, allocations: 98.47 kB / 0.5597 GB, free: 2.473 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.1588, allocations: 28.84 kB / 0.5597 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.1589, allocations: 4 kB / 0.5598 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.1589, allocations: 42.44 kB / 0.5598 GB, free: 2.387 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1589, allocations: 0 / 0.5598 GB, free: 2.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001118/0.16, allocations: 396.7 kB / 0.5602 GB, free: 1.992 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.1601, allocations: 59.31 kB / 0.5602 GB, free: 1.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007749/0.1608, allocations: 0.5838 MB / 0.5608 GB, free: 1.328 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.1609, allocations: 25.7 kB / 0.5608 GB, free: 1.297 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.161, allocations: 216.4 kB / 0.561 GB, free: 1.078 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.1611, allocations: 59.48 kB / 0.5611 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.566e-05/0.1612, allocations: 37.7 kB / 0.5611 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.1614, allocations: 358.7 kB / 0.5615 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.1615, allocations: 55.91 kB / 0.5615 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.1616, allocations: 50 kB / 0.5616 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.1619, allocations: 119.2 kB / 0.5617 GB, free: 408 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1619, allocations: 0 / 0.5617 GB, free: 408 kB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000419/0.1623, allocations: 205.2 kB / 0.5619 GB, free: 196 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1623, allocations: 8 kB / 0.5619 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1623, allocations: 0 / 0.5619 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1623, allocations: 4 kB / 0.5619 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.1625, allocations: 31.97 kB / 0.5619 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1625, allocations: 4 kB / 0.5619 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.695e-05/0.1626, allocations: 8 kB / 0.5619 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.1626, allocations: 4 kB / 0.5619 GB, free: 136 kB / 414.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.0002181/0.1628, allocations: 181.7 kB / 0.5621 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.07e-05/0.1629, allocations: 47.72 kB / 0.5621 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005172/0.1634, allocations: 245.6 kB / 0.5624 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1634, allocations: 0 / 0.5624 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1634, allocations: 0 / 0.5624 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.1634, allocations: 3.984 kB / 0.5624 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009269/0.1644, allocations: 0.6404 MB / 0.563 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1644, allocations: 7.938 kB / 0.563 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.1645, allocations: 35.98 kB / 0.5631 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1645, allocations: 0 / 0.5631 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1645, allocations: 4 kB / 0.5631 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.1645, allocations: 3.938 kB / 0.5631 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1645, allocations: 0 / 0.5631 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.165, allocations: 308.8 kB / 0.5634 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-05/0.1651, allocations: 120.8 kB / 0.5635 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.1651, allocations: 8 kB / 0.5635 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.1652, allocations: 11.92 kB / 0.5635 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.1653, allocations: 11.98 kB / 0.5635 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.1653, allocations: 8 kB / 0.5635 GB, free: 14.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004879/0.1658, allocations: 435.1 kB / 0.5639 GB, free: 13.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1658, allocations: 0 / 0.5639 GB, free: 13.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003399/0.1661, allocations: 51.92 kB / 0.564 GB, free: 13.93 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.003612/0.1697, allocations: 1.448 MB / 0.5654 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003975/0.1701, allocations: 127.8 kB / 0.5655 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1701, allocations: 4 kB / 0.5655 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.1703, allocations: 67.91 kB / 0.5656 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007056/0.171, allocations: 77.62 kB / 0.5657 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/0.176, allocations: 3.184 MB / 0.5688 GB, free: 9.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.1766, allocations: 0.8182 MB / 0.5696 GB, free: 8.406 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001547/0.1767, allocations: 46.23 kB / 0.5696 GB, free: 8.363 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.1769, allocations: 135.4 kB / 0.5697 GB, free: 8.23 MB / 430.1 MB Notification: Performance of SimCode: time 1.222e-06/0.1769, allocations: 4 kB / 0.5697 GB, free: 8.227 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.2029, allocations: 7.716 MB / 0.5773 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.876/9.079, allocations: 8.812 kB / 0.5773 GB, free: 0.5234 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.49883180600591]