Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001295/0.001295, allocations: 118.3 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.001386/0.001386, 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.498/1.498, allocations: 230.6 MB / 254.8 MB, free: 15.13 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.2371/0.2371, allocations: 44.9 MB / 355.8 MB, free: 12.34 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.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",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.002353/0.002353, allocations: 67.89 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1547, allocations: 65.42 MB / 0.5525 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.004065/0.1587, allocations: 1.622 MB / 0.554 GB, free: 8.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.1609, allocations: 1.183 MB / 0.5552 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.195e-05/0.161, allocations: 0 / 0.5552 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.1612, allocations: 27.84 kB / 0.5552 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.1616, allocations: 83.62 kB / 0.5553 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.162, allocations: 115.6 kB / 0.5554 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.1622, allocations: 83.75 kB / 0.5555 GB, free: 7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.1623, allocations: 23.92 kB / 0.5555 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.678e-05/0.1624, allocations: 31.84 kB / 0.5555 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.1626, allocations: 31.86 kB / 0.5556 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1626, allocations: 8 kB / 0.5556 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.1628, allocations: 103.9 kB / 0.5557 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.1629, allocations: 23.92 kB / 0.5557 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.1629, allocations: 27.8 kB / 0.5557 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.1633, allocations: 155.4 kB / 0.5559 GB, free: 6.602 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1633, allocations: 0 / 0.5559 GB, free: 6.602 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1633, allocations: 0 / 0.5559 GB, free: 6.602 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1633, allocations: 0 / 0.5559 GB, free: 6.602 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006775/0.164, allocations: 414.8 kB / 0.5563 GB, free: 6.148 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.164, allocations: 16.03 kB / 0.5563 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.822e-05/0.1641, allocations: 192 / 0.5563 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.1641, allocations: 34.75 kB / 0.5563 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.1641, allocations: 12.89 kB / 0.5563 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.1644, allocations: 194.3 kB / 0.5565 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1644, allocations: 12.25 kB / 0.5565 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.1644, allocations: 8.062 kB / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.1646, allocations: 79.38 kB / 0.5566 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.1647, allocations: 11.95 kB / 0.5566 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1647, allocations: 0 / 0.5566 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1647, allocations: 0 / 0.5566 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.1648, allocations: 43.89 kB / 0.5567 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.1653, allocations: 304.8 kB / 0.557 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.1655, allocations: 54.56 kB / 0.557 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.218e-05/0.1655, allocations: 25 kB / 0.557 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.1656, allocations: 0 / 0.557 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.1656, allocations: 46.56 kB / 0.5571 GB, free: 5.195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1656, allocations: 0 / 0.5571 GB, free: 5.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007334/0.1663, allocations: 197.3 kB / 0.5573 GB, free: 4.996 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.1664, allocations: 89.05 kB / 0.5574 GB, free: 4.891 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.1666, allocations: 153.6 kB / 0.5575 GB, free: 4.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1666, allocations: 25.7 kB / 0.5575 GB, free: 4.699 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.611e-05/0.1667, allocations: 96.08 kB / 0.5576 GB, free: 4.602 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.1667, allocations: 27.8 kB / 0.5576 GB, free: 4.574 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.1668, allocations: 21.72 kB / 0.5577 GB, free: 4.547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1669, allocations: 318.8 kB / 0.558 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-05/0.167, allocations: 35.97 kB / 0.558 GB, free: 4.191 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.1671, allocations: 41.7 kB / 0.558 GB, free: 4.145 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.1673, allocations: 68.81 kB / 0.5581 GB, free: 4.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1673, allocations: 0 / 0.5581 GB, free: 4.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002581/0.1676, allocations: 117.5 kB / 0.5582 GB, free: 3.953 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1676, allocations: 8.031 kB / 0.5582 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1676, allocations: 0 / 0.5582 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1676, allocations: 0 / 0.5582 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1677, allocations: 23.92 kB / 0.5583 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1677, allocations: 0 / 0.5583 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.496e-05/0.1678, allocations: 7.984 kB / 0.5583 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1678, allocations: 4 kB / 0.5583 GB, free: 3.91 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 (8): * Single equations (assignments): 8 * 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 9.979e-05/0.1679, allocations: 116 kB / 0.5584 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.882e-05/0.168, allocations: 15.91 kB / 0.5584 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/0.1683, allocations: 142.4 kB / 0.5585 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.1683, allocations: 7.938 kB / 0.5585 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1683, allocations: 0 / 0.5585 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1683, allocations: 0 / 0.5585 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005821/0.1689, allocations: 402.4 kB / 0.5589 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1689, allocations: 3.938 kB / 0.5589 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.839e-05/0.169, allocations: 23.98 kB / 0.5589 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.169, allocations: 0 / 0.5589 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.169, allocations: 4 kB / 0.5589 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.169, allocations: 4 kB / 0.559 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.169, allocations: 0 / 0.559 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.1693, allocations: 203.4 kB / 0.5591 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.1694, allocations: 89 kB / 0.5592 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.1694, allocations: 4.375 kB / 0.5592 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/0.1695, allocations: 7.984 kB / 0.5592 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.1695, allocations: 8 kB / 0.5593 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1695, allocations: 4 kB / 0.5593 GB, free: 2.789 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001253/0.1697, allocations: 121.8 kB / 0.5594 GB, free: 2.672 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1697, allocations: 0 / 0.5594 GB, free: 2.672 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003216/0.17, allocations: 43.86 kB / 0.5594 GB, free: 2.629 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 (8): * Single equations (assignments): 8 * 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.002375/0.1724, allocations: 1.129 MB / 0.5605 GB, free: 1.668 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.1726, allocations: 75.88 kB / 0.5606 GB, free: 1.594 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1726, allocations: 0 / 0.5606 GB, free: 1.594 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.1727, allocations: 43.91 kB / 0.5606 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.1731, allocations: 25.34 kB / 0.5607 GB, free: 1.527 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.1752, allocations: 1.538 MB / 0.5622 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.1756, allocations: 0.6963 MB / 0.5628 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.292e-05/0.1757, allocations: 28.66 kB / 0.5629 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.785e-05/0.1758, allocations: 31.42 kB / 0.5629 GB, free: 15.12 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1758, allocations: 4 kB / 0.5629 GB, free: 15.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.1998, allocations: 3.521 MB / 0.5663 GB, free: 11.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.551/8.75, allocations: 5 kB / 0.5663 GB, free: 11.61 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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: 11.940490401000716]