Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001367/0.001367, allocations: 113 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.001533/0.001533, allocations: 217.4 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.555/1.555, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.256/0.256, allocations: 44.91 MB / 355.8 MB, free: 12.28 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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",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.001996/0.001996, allocations: 74.08 kB / 0.4886 GB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1531, allocations: 65.42 MB / 0.5524 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003668/0.1567, allocations: 2.041 MB / 0.5544 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.1588, allocations: 1.029 MB / 0.5554 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.1589, allocations: 3.938 kB / 0.5555 GB, free: 7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005589/0.1594, allocations: 259.1 kB / 0.5557 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005678/0.16, allocations: 255.1 kB / 0.5559 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.1612, allocations: 494 kB / 0.5564 GB, free: 6.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000449/0.1616, allocations: 338.8 kB / 0.5567 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.1618, allocations: 52.64 kB / 0.5568 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.162, allocations: 151.4 kB / 0.5569 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.1623, allocations: 227.2 kB / 0.5571 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.1623, allocations: 12 kB / 0.5572 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.1624, allocations: 67.98 kB / 0.5572 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.1626, allocations: 103.5 kB / 0.5573 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1627, allocations: 127 kB / 0.5574 GB, free: 4.965 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004845/0.1632, allocations: 338.2 kB / 0.5578 GB, free: 4.633 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1632, allocations: 0 / 0.5578 GB, free: 4.633 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1632, allocations: 0 / 0.5578 GB, free: 4.633 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1632, allocations: 0 / 0.5578 GB, free: 4.633 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.001017/0.1642, allocations: 0.6997 MB / 0.5584 GB, free: 3.883 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.1643, allocations: 8.031 kB / 0.5585 GB, free: 3.875 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.125e-05/0.1643, allocations: 4.188 kB / 0.5585 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.558e-05/0.1643, allocations: 42.73 kB / 0.5585 GB, free: 3.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.411e-05/0.1644, allocations: 48.61 kB / 0.5585 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004931/0.1649, allocations: 338.4 kB / 0.5589 GB, free: 3.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.1649, allocations: 8.375 kB / 0.5589 GB, free: 3.395 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.165, allocations: 16.12 kB / 0.5589 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.1653, allocations: 111.8 kB / 0.559 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1653, allocations: 0 / 0.559 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.1653, allocations: 8 kB / 0.559 GB, free: 3.258 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1653, allocations: 0 / 0.559 GB, free: 3.258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.1655, allocations: 71.89 kB / 0.5591 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007821/0.1663, allocations: 0.5081 MB / 0.5596 GB, free: 2.629 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.1665, allocations: 86.48 kB / 0.5597 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.224e-05/0.1666, allocations: 36.83 kB / 0.5597 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1666, allocations: 4 kB / 0.5597 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.1666, allocations: 42.44 kB / 0.5597 GB, free: 2.441 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.1666, allocations: 0 / 0.5597 GB, free: 2.441 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001065/0.1677, allocations: 392.8 kB / 0.5601 GB, free: 2.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.1677, allocations: 55.31 kB / 0.5602 GB, free: 1.984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007455/0.1685, allocations: 0.5916 MB / 0.5607 GB, free: 1.383 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.1685, allocations: 29.64 kB / 0.5608 GB, free: 1.348 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.1687, allocations: 220.4 kB / 0.561 GB, free: 1.125 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.278e-05/0.1688, allocations: 55.47 kB / 0.561 GB, free: 1.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.1688, allocations: 37.7 kB / 0.5611 GB, free: 1.027 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.1691, allocations: 358.7 kB / 0.5614 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.1692, allocations: 51.97 kB / 0.5615 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1693, allocations: 58 kB / 0.5615 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.1696, allocations: 115.3 kB / 0.5616 GB, free: 460 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1696, allocations: 0 / 0.5616 GB, free: 460 kB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003953/0.17, allocations: 205.2 kB / 0.5618 GB, free: 248 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.17, allocations: 12 kB / 0.5618 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.17, allocations: 0 / 0.5618 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.17, allocations: 0 / 0.5618 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.1702, allocations: 35.97 kB / 0.5619 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1702, allocations: 3.984 kB / 0.5619 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.293e-05/0.1703, allocations: 8 kB / 0.5619 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.1703, allocations: 8 kB / 0.5619 GB, free: 180 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.000243/0.1706, allocations: 181.8 kB / 0.5621 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/0.1706, allocations: 47.72 kB / 0.5621 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000578/0.1712, allocations: 237.6 kB / 0.5623 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1712, allocations: 0 / 0.5623 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1712, allocations: 4 kB / 0.5623 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.1712, allocations: 3.984 kB / 0.5623 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.1723, allocations: 0.6292 MB / 0.563 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1723, allocations: 8 kB / 0.563 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.1724, allocations: 39.91 kB / 0.563 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1724, allocations: 0 / 0.563 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1724, allocations: 7.828 kB / 0.563 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.1724, allocations: 3.938 kB / 0.563 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1724, allocations: 0 / 0.563 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000466/0.1729, allocations: 303.1 kB / 0.5633 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.173, allocations: 132.8 kB / 0.5634 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.173, allocations: 4 kB / 0.5634 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1731, allocations: 7.938 kB / 0.5634 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.1732, allocations: 15.98 kB / 0.5635 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.1732, allocations: 7.984 kB / 0.5635 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005471/0.1738, allocations: 435.1 kB / 0.5639 GB, free: 14.03 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1738, allocations: 0 / 0.5639 GB, free: 14.03 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.1741, allocations: 51.92 kB / 0.5639 GB, free: 13.98 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.003693/0.1778, allocations: 1.447 MB / 0.5653 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004075/0.1782, allocations: 126 kB / 0.5655 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1782, allocations: 4 kB / 0.5655 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.1784, allocations: 67.91 kB / 0.5655 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006611/0.179, allocations: 81.58 kB / 0.5656 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/0.1837, allocations: 3.172 MB / 0.5687 GB, free: 9.305 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/0.1842, allocations: 0.8182 MB / 0.5695 GB, free: 8.461 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.1844, allocations: 46.23 kB / 0.5695 GB, free: 8.418 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.1846, allocations: 135.4 kB / 0.5697 GB, free: 8.285 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1846, allocations: 4 kB / 0.5697 GB, free: 8.281 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.2118, allocations: 7.725 MB / 0.5772 GB, free: 0.582 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.933/9.145, allocations: 4.875 kB / 0.5772 GB, free: 0.5781 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.613658110029064]