Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001378/0.001378, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2428/0.2428, allocations: 46.9 MB / 357.4 MB, free: 10.47 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003582/0.003582, allocations: 75.88 kB / 0.4913 GB, free: 8.297 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1619, allocations: 65.99 MB / 0.5557 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003248/0.1652, allocations: 1.629 MB / 0.5573 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1662, allocations: 0.5489 MB / 0.5578 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.1663, allocations: 0 / 0.5578 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.1666, allocations: 79.77 kB / 0.5579 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.1669, allocations: 99.59 kB / 0.558 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.1673, allocations: 122 kB / 0.5581 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.1675, allocations: 79.81 kB / 0.5582 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1676, allocations: 15.98 kB / 0.5582 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.42e-05/0.1677, allocations: 39.83 kB / 0.5583 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.1678, allocations: 59.75 kB / 0.5583 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1678, allocations: 4 kB / 0.5583 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1679, allocations: 51.98 kB / 0.5584 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.168, allocations: 19.92 kB / 0.5584 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.168, allocations: 31.73 kB / 0.5584 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.1682, allocations: 103.6 kB / 0.5585 GB, free: 3.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1682, allocations: 0 / 0.5585 GB, free: 3.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1682, allocations: 3.938 kB / 0.5585 GB, free: 3.285 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1682, allocations: 0 / 0.5585 GB, free: 3.285 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000536/0.1688, allocations: 422.7 kB / 0.5589 GB, free: 2.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1688, allocations: 8.031 kB / 0.5589 GB, free: 2.812 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.1688, allocations: 42.75 kB / 0.559 GB, free: 2.762 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.1689, allocations: 12.84 kB / 0.559 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.1691, allocations: 204.8 kB / 0.5592 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1691, allocations: 384 / 0.5592 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1691, allocations: 4.375 kB / 0.5592 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1693, allocations: 54.23 kB / 0.5592 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1693, allocations: 3.938 kB / 0.5592 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1693, allocations: 4 kB / 0.5592 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1693, allocations: 0 / 0.5592 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.849e-05/0.1694, allocations: 31.92 kB / 0.5593 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.1698, allocations: 304.8 kB / 0.5596 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.1699, allocations: 38.56 kB / 0.5596 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.17, allocations: 28.81 kB / 0.5596 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.17, allocations: 3.984 kB / 0.5596 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.17, allocations: 34.56 kB / 0.5597 GB, free: 1.934 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.17, allocations: 0 / 0.5597 GB, free: 1.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008818/0.1709, allocations: 233.2 kB / 0.5599 GB, free: 1.699 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.171, allocations: 59.34 kB / 0.5599 GB, free: 1.629 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.1712, allocations: 218.3 kB / 0.5602 GB, free: 1.406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1712, allocations: 29.7 kB / 0.5602 GB, free: 1.371 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.1713, allocations: 104.1 kB / 0.5603 GB, free: 1.266 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.1713, allocations: 27.83 kB / 0.5603 GB, free: 1.238 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.1714, allocations: 29.69 kB / 0.5603 GB, free: 1.203 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.1716, allocations: 330.8 kB / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.226e-05/0.1717, allocations: 23.98 kB / 0.5607 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.867e-05/0.1717, allocations: 35.97 kB / 0.5607 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.1719, allocations: 76.98 kB / 0.5608 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1719, allocations: 0 / 0.5608 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002331/0.1721, allocations: 109.6 kB / 0.5609 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1722, allocations: 8 kB / 0.5609 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1722, allocations: 0 / 0.5609 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1722, allocations: 0 / 0.5609 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.1723, allocations: 23.98 kB / 0.5609 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.1723, allocations: 4 kB / 0.5609 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.44e-05/0.1723, allocations: 4 kB / 0.5609 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1723, allocations: 7.938 kB / 0.5609 GB, free: 0.5742 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 0.000117/0.1725, allocations: 133.8 kB / 0.5611 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.1725, allocations: 11.91 kB / 0.5611 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/0.1728, allocations: 135 kB / 0.5612 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1728, allocations: 0 / 0.5612 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1728, allocations: 0 / 0.5612 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1728, allocations: 0 / 0.5612 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006004/0.1734, allocations: 423.2 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1734, allocations: 0 / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.1735, allocations: 23.92 kB / 0.5616 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1735, allocations: 0 / 0.5616 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1735, allocations: 7.969 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1735, allocations: 4 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1735, allocations: 0 / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.1738, allocations: 212.3 kB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/0.1739, allocations: 89.02 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.1739, allocations: 7.938 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.174, allocations: 7.938 kB / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.174, allocations: 11.98 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.174, allocations: 3.938 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.1742, allocations: 168.2 kB / 0.5621 GB, free: 15.24 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1742, allocations: 0 / 0.5621 GB, free: 15.24 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1744, allocations: 23.94 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.002279/0.1767, allocations: 1.092 MB / 0.5632 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.1769, allocations: 71.83 kB / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1769, allocations: 4 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.665e-05/0.177, allocations: 39.91 kB / 0.5633 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.1774, allocations: 22.73 kB / 0.5633 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.1796, allocations: 1.727 MB / 0.565 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.1799, allocations: 0.7119 MB / 0.5657 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.696e-05/0.18, allocations: 32.94 kB / 0.5658 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.1801, allocations: 31.42 kB / 0.5658 GB, free: 11.53 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1801, allocations: 0 / 0.5658 GB, free: 11.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.2055, allocations: 3.171 MB / 0.5689 GB, free: 8.406 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.281, allocations: 11.86 kB / 0.5689 GB, free: 8.395 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.366315502673388]