Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001801/0.001801, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.002132/0.002132, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.519/1.519, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2464/0.2464, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003202/0.003202, allocations: 67.91 kB / 0.4909 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1501, allocations: 66 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003666/0.1537, allocations: 1.599 MB / 0.557 GB, free: 4.227 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.1559, allocations: 1.171 MB / 0.5581 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.655e-05/0.156, allocations: 0 / 0.5581 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.1562, allocations: 23.84 kB / 0.5581 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003992/0.1566, allocations: 83.62 kB / 0.5582 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.157, allocations: 91.69 kB / 0.5583 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.1572, allocations: 75.75 kB / 0.5584 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1573, allocations: 8 kB / 0.5584 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.819e-05/0.1574, allocations: 19.92 kB / 0.5584 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.1576, allocations: 43.83 kB / 0.5584 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1576, allocations: 4 kB / 0.5584 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.1578, allocations: 99.88 kB / 0.5585 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.1579, allocations: 15.92 kB / 0.5585 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.56e-05/0.1579, allocations: 23.81 kB / 0.5586 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000363/0.1583, allocations: 139.5 kB / 0.5587 GB, free: 2.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1583, allocations: 0 / 0.5587 GB, free: 2.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1583, allocations: 0 / 0.5587 GB, free: 2.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1583, allocations: 3.938 kB / 0.5587 GB, free: 2.426 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.0006637/0.159, allocations: 402.8 kB / 0.5591 GB, free: 1.984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.159, allocations: 12.03 kB / 0.5591 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.1591, allocations: 38.73 kB / 0.5591 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.1591, allocations: 8.891 kB / 0.5591 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.1594, allocations: 192.2 kB / 0.5593 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1594, allocations: 4.375 kB / 0.5593 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.1594, allocations: 4.375 kB / 0.5593 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.1596, allocations: 63.28 kB / 0.5594 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1596, allocations: 0 / 0.5594 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.1596, allocations: 11.98 kB / 0.5594 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1597, allocations: 0 / 0.5594 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.1598, allocations: 19.97 kB / 0.5594 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.1603, allocations: 276.9 kB / 0.5597 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.1605, allocations: 42.5 kB / 0.5597 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.614e-05/0.1606, allocations: 24.94 kB / 0.5598 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.1606, allocations: 0 / 0.5598 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.1606, allocations: 30.56 kB / 0.5598 GB, free: 1.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.1606, allocations: 0 / 0.5598 GB, free: 1.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000675/0.1613, allocations: 141.4 kB / 0.5599 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.454e-05/0.1614, allocations: 81.09 kB / 0.56 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.1616, allocations: 145.8 kB / 0.5601 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1616, allocations: 29.7 kB / 0.5602 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.1617, allocations: 88.14 kB / 0.5603 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.1617, allocations: 27.78 kB / 0.5603 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.1618, allocations: 17.72 kB / 0.5603 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1619, allocations: 326.7 kB / 0.5606 GB, free: 248 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.162, allocations: 15.98 kB / 0.5606 GB, free: 232 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.253e-05/0.1621, allocations: 37.77 kB / 0.5607 GB, free: 188 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.1622, allocations: 52.77 kB / 0.5607 GB, free: 132 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1622, allocations: 3.938 kB / 0.5607 GB, free: 128 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002187/0.1625, allocations: 77.62 kB / 0.5608 GB, free: 44 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1625, allocations: 6.031 kB / 0.5608 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1625, allocations: 4 kB / 0.5608 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1625, allocations: 4.031 kB / 0.5608 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.615e-05/0.1626, allocations: 11.98 kB / 0.5608 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.1626, allocations: 0 / 0.5608 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.676e-05/0.1626, allocations: 11.94 kB / 0.5608 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1626, allocations: 0 / 0.5608 GB, free: 8 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 (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.0001344/0.1628, allocations: 120 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.1628, allocations: 7.953 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.1631, allocations: 97.89 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1631, allocations: 0 / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1631, allocations: 0 / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1631, allocations: 7.938 kB / 0.561 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.1636, allocations: 350.5 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1636, allocations: 320 / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.092e-05/0.1637, allocations: 8 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1637, allocations: 4 kB / 0.5614 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1637, allocations: 7.938 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.1637, allocations: 7.984 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1637, allocations: 0 / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.164, allocations: 179.5 kB / 0.5616 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/0.1641, allocations: 81.06 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.1641, allocations: 7.922 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-05/0.1642, allocations: 8 kB / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.1642, allocations: 4 kB / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.1642, allocations: 0 / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.1643, allocations: 115.2 kB / 0.5618 GB, free: 14.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1643, allocations: 3.938 kB / 0.5618 GB, free: 14.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.1646, allocations: 39.86 kB / 0.5618 GB, free: 14.87 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 (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.002376/0.167, allocations: 1.103 MB / 0.5629 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.1673, allocations: 47.84 kB / 0.5629 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1673, allocations: 4 kB / 0.563 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/0.1674, allocations: 19.98 kB / 0.563 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.1678, allocations: 18.48 kB / 0.563 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.1699, allocations: 1.425 MB / 0.5644 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.1704, allocations: 0.6962 MB / 0.5651 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.876e-05/0.1705, allocations: 19.98 kB / 0.5651 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.052e-05/0.1706, allocations: 35.41 kB / 0.5651 GB, free: 11.57 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1706, allocations: 0 / 0.5651 GB, free: 11.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/0.1988, allocations: 3.232 MB / 0.5683 GB, free: 8.344 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.365, allocations: 12.94 kB / 0.5683 GB, free: 8.332 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 11.593014247948304]