Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001018/0.001018, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001019/0.001019, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8681/0.8681, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2404/0.2404, allocations: 34.24 MB / 294.9 MB, free: 0.7305 MB / 266.7 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.685e-05, allocations: 6.281 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002435/0.002452, allocations: 1.587 MB / 443.8 MB, free: 44 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1637/0.1661, allocations: 0.5222 MB / 444.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.533e-05/0.1662, allocations: 2.781 kB / 444.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.1664, allocations: 15.78 kB / 444.3 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.1667, allocations: 82.38 kB / 444.4 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.1669, allocations: 93.56 kB / 444.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.167, allocations: 68.62 kB / 444.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.1671, allocations: 10.64 kB / 444.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.158e-05/0.1672, allocations: 25.58 kB / 444.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.46e-05/0.1672, allocations: 20.42 kB / 444.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1672, allocations: 2.375 kB / 444.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.371e-05/0.1673, allocations: 31.98 kB / 444.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.1673, allocations: 15.8 kB / 444.7 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.1674, allocations: 14.97 kB / 444.7 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.1675, allocations: 85.39 kB / 444.8 MB, free: 42.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1675, allocations: 1.5 kB / 444.8 MB, free: 42.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1675, allocations: 0 / 444.8 MB, free: 42.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1675, allocations: 0 / 444.8 MB, free: 42.67 MB / 410.7 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.0003351/0.1679, allocations: 306 kB / 445.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1679, allocations: 9 kB / 445.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.382e-05/0.1679, allocations: 30.75 kB / 445.1 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.168, allocations: 14.88 kB / 445.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1681, allocations: 132.8 kB / 445.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.1681, allocations: 4.375 kB / 445.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.1681, allocations: 3.281 kB / 445.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.1682, allocations: 58.48 kB / 445.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1682, allocations: 192 / 445.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.1682, allocations: 3.938 kB / 445.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.1682, allocations: 5.562 kB / 445.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.071e-05/0.1683, allocations: 24.67 kB / 445.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002424/0.1685, allocations: 239.9 kB / 445.6 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.1687, allocations: 53.03 kB / 445.6 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.1687, allocations: 10.64 kB / 445.6 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1687, allocations: 6.156 kB / 445.6 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.133e-05/0.1687, allocations: 37.23 kB / 445.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1687, allocations: 0.5 kB / 445.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003658/0.1691, allocations: 142.1 kB / 445.8 MB, free: 41.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.1691, allocations: 54.91 kB / 445.9 MB, free: 41.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.485e-05/0.1692, allocations: 149.9 kB / 446 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.1692, allocations: 25.7 kB / 446 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.1692, allocations: 102.6 kB / 446.1 MB, free: 41.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.1693, allocations: 14.86 kB / 446.2 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.1693, allocations: 18.69 kB / 446.2 MB, free: 41.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.189e-05/0.1693, allocations: 324 kB / 446.5 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.1694, allocations: 21.98 kB / 446.5 MB, free: 41.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.606e-05/0.1694, allocations: 17.61 kB / 446.5 MB, free: 41.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.935e-05/0.1695, allocations: 49.52 kB / 446.6 MB, free: 41.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1695, allocations: 3.938 kB / 446.6 MB, free: 41.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.215e-05/0.1695, allocations: 75.2 kB / 446.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1696, allocations: 8.906 kB / 446.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1696, allocations: 0 / 446.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1696, allocations: 4 kB / 446.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.499e-05/0.1696, allocations: 11.94 kB / 446.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1696, allocations: 3.375 kB / 446.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.1696, allocations: 6 kB / 446.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.1696, allocations: 2.688 kB / 446.7 MB, free: 41.13 MB / 410.7 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 4.447e-05/0.1697, allocations: 119.6 kB / 446.8 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.1697, allocations: 12.98 kB / 446.8 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.1698, allocations: 91.33 kB / 446.9 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1698, allocations: 6.906 kB / 446.9 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1698, allocations: 3.938 kB / 446.9 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1698, allocations: 3.188 kB / 446.9 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.1701, allocations: 305.2 kB / 447.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1701, allocations: 2.688 kB / 447.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.1701, allocations: 15.09 kB / 447.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.1701, allocations: 0 / 447.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1701, allocations: 2.594 kB / 447.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1701, allocations: 0 / 447.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1701, allocations: 7.234 kB / 447.3 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.875e-05/0.1702, allocations: 178.6 kB / 447.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.1702, allocations: 3.953 kB / 447.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.1702, allocations: 6.281 kB / 447.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.411e-05/0.1703, allocations: 6.125 kB / 447.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1703, allocations: 2.875 kB / 447.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1703, allocations: 3.938 kB / 447.5 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.751e-05/0.1703, allocations: 117.6 kB / 447.6 MB, free: 40.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1703, allocations: 0 / 447.6 MB, free: 40.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001709/0.1705, allocations: 26.2 kB / 447.6 MB, free: 40.46 MB / 410.7 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.0008509/0.1714, allocations: 1.043 MB / 448.6 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.1715, allocations: 43.86 kB / 448.7 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1715, allocations: 0 / 448.7 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.1715, allocations: 27.52 kB / 448.7 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.1718, allocations: 23.31 kB / 448.7 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008706/0.1727, allocations: 1.439 MB / 450.2 MB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.26e-05/0.1727, allocations: 72.59 kB / 450.2 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.459e-05/0.1727, allocations: 19.53 kB / 450.3 MB, free: 38.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.1728, allocations: 26.7 kB / 450.3 MB, free: 38.47 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1728, allocations: 0 / 450.3 MB, free: 38.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.1891, allocations: 3.25 MB / 453.5 MB, free: 37.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.706/6.895, allocations: 17.3 kB / 453.5 MB, free: 37.16 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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: 8.795401757583022]