Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.002057/0.002057, allocations: 112.2 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.002219/0.002219, 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.575/1.575, 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.2854/0.2854, allocations: 44.9 MB / 355.8 MB, free: 12.33 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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001835/0.001835, allocations: 63.89 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1628, allocations: 65.42 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003378/0.1662, allocations: 1.605 MB / 0.554 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.1682, allocations: 1.164 MB / 0.5552 GB, free: 7.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.1683, allocations: 0 / 0.5552 GB, free: 7.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.1685, allocations: 19.86 kB / 0.5552 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.1687, allocations: 91.55 kB / 0.5553 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.169, allocations: 91.19 kB / 0.5554 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.1691, allocations: 71.77 kB / 0.5554 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1693, allocations: 11.94 kB / 0.5554 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.768e-05/0.1693, allocations: 31.91 kB / 0.5555 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.1695, allocations: 37.95 kB / 0.5555 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.1695, allocations: 4 kB / 0.5555 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.1696, allocations: 95.88 kB / 0.5556 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.1697, allocations: 19.91 kB / 0.5556 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.1697, allocations: 19.88 kB / 0.5556 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.17, allocations: 135.5 kB / 0.5558 GB, free: 6.707 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.17, allocations: 0 / 0.5558 GB, free: 6.707 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.17, allocations: 0 / 0.5558 GB, free: 6.707 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.17, allocations: 0 / 0.5558 GB, free: 6.707 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005767/0.1706, allocations: 412.8 kB / 0.5562 GB, free: 6.258 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1706, allocations: 11.97 kB / 0.5562 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.866e-05/0.1706, allocations: 4.188 kB / 0.5562 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.1707, allocations: 38.73 kB / 0.5562 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.1707, allocations: 4.891 kB / 0.5562 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.1709, allocations: 196.2 kB / 0.5564 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.1709, allocations: 384 / 0.5564 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.171, allocations: 8.125 kB / 0.5564 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1711, allocations: 75.33 kB / 0.5565 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1711, allocations: 0 / 0.5565 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1712, allocations: 0 / 0.5565 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1712, allocations: 0 / 0.5565 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.1713, allocations: 23.97 kB / 0.5565 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.1717, allocations: 276.9 kB / 0.5568 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.1719, allocations: 46.5 kB / 0.5568 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.074e-05/0.172, allocations: 16.94 kB / 0.5568 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.172, allocations: 4 kB / 0.5568 GB, free: 5.445 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.1721, allocations: 30.56 kB / 0.5569 GB, free: 5.406 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1721, allocations: 0 / 0.5569 GB, free: 5.406 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006449/0.1727, allocations: 145.4 kB / 0.557 GB, free: 5.258 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.1728, allocations: 81.09 kB / 0.5571 GB, free: 5.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.173, allocations: 147.8 kB / 0.5572 GB, free: 5.008 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.173, allocations: 25.7 kB / 0.5572 GB, free: 4.977 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.1731, allocations: 92.14 kB / 0.5573 GB, free: 4.883 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.1731, allocations: 23.84 kB / 0.5574 GB, free: 4.859 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.1731, allocations: 13.72 kB / 0.5574 GB, free: 4.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1733, allocations: 322.8 kB / 0.5577 GB, free: 4.516 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.658e-05/0.1734, allocations: 19.98 kB / 0.5577 GB, free: 4.496 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.341e-05/0.1735, allocations: 33.64 kB / 0.5577 GB, free: 4.457 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.1736, allocations: 48.83 kB / 0.5578 GB, free: 4.406 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1736, allocations: 0 / 0.5578 GB, free: 4.406 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001992/0.1738, allocations: 85.59 kB / 0.5579 GB, free: 4.316 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1738, allocations: 4 kB / 0.5579 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1738, allocations: 0 / 0.5579 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1739, allocations: 0 / 0.5579 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.403e-05/0.1739, allocations: 19.92 kB / 0.5579 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1739, allocations: 0 / 0.5579 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.221e-05/0.174, allocations: 11.88 kB / 0.5579 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.174, allocations: 4.25 kB / 0.5579 GB, free: 4.277 MB / 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 (5): * Single equations (assignments): 5 * 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.0001012/0.1741, allocations: 120 kB / 0.558 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.1741, allocations: 11.95 kB / 0.558 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.1744, allocations: 93.91 kB / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1744, allocations: 0 / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1744, allocations: 0 / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1744, allocations: 3.938 kB / 0.5581 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.1749, allocations: 350.5 kB / 0.5584 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1749, allocations: 7.938 kB / 0.5585 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.1749, allocations: 12 kB / 0.5585 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1749, allocations: 0 / 0.5585 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.175, allocations: 3.938 kB / 0.5585 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.175, allocations: 3.984 kB / 0.5585 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.175, allocations: 0 / 0.5585 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.1752, allocations: 179.5 kB / 0.5586 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.1753, allocations: 85.06 kB / 0.5587 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.1753, allocations: 7.922 kB / 0.5587 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.1754, allocations: 4 kB / 0.5587 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.1754, allocations: 4 kB / 0.5587 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1754, allocations: 0 / 0.5587 GB, free: 3.301 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1755, allocations: 117.4 kB / 0.5589 GB, free: 3.188 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1755, allocations: 0 / 0.5589 GB, free: 3.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.1759, allocations: 43.8 kB / 0.5589 GB, free: 3.145 MB / 414.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 (5): * Single equations (assignments): 5 * 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.002326/0.1782, allocations: 1.105 MB / 0.56 GB, free: 2.207 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.1784, allocations: 47.91 kB / 0.56 GB, free: 2.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1784, allocations: 0 / 0.56 GB, free: 2.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.018e-05/0.1785, allocations: 27.98 kB / 0.56 GB, free: 2.133 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.1789, allocations: 19.97 kB / 0.5601 GB, free: 2.113 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.1808, allocations: 1.435 MB / 0.5615 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.1812, allocations: 0.6885 MB / 0.5621 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.568e-05/0.1813, allocations: 19.72 kB / 0.5622 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.1813, allocations: 27.41 kB / 0.5622 GB, free: 15.84 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1813, allocations: 0 / 0.5622 GB, free: 15.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.203, allocations: 3.279 MB / 0.5654 GB, free: 12.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.427/8.63, allocations: 5 kB / 0.5654 GB, free: 12.57 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.030291286006104]