Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.0009009/0.0009009, allocations: 79.7 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.0008314/0.0008314, allocations: 174 kB / 23.95 MB, free: 0.6094 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.8834/0.8834, allocations: 177.1 MB / 204.2 MB, free: 5.715 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.2474/0.2474, allocations: 34.25 MB / 294.9 MB, free: 0.7188 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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.956e-05, allocations: 7.406 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002067/0.002086, allocations: 1.603 MB / 443.8 MB, free: 12 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1583/0.1604, allocations: 0.5334 MB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.1605, allocations: 4.75 kB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.1608, allocations: 124.4 kB / 444.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.161, allocations: 128 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.1612, allocations: 110.7 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1613, allocations: 108.9 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.125e-05/0.1614, allocations: 12.62 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.103e-05/0.1615, allocations: 53.25 kB / 444.9 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.139e-05/0.1616, allocations: 92.39 kB / 445 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.1616, allocations: 4.031 kB / 445 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.742e-05/0.1616, allocations: 47.16 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.1617, allocations: 25.42 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.1617, allocations: 19.66 kB / 445.1 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.1619, allocations: 122.7 kB / 445.2 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1619, allocations: 2.812 kB / 445.2 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1619, allocations: 0 / 445.2 MB, free: 43.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1619, allocations: 0 / 445.2 MB, free: 43.13 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003238/0.1622, allocations: 366 kB / 445.5 MB, free: 42.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1622, allocations: 8.969 kB / 445.5 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.076e-05/0.1622, allocations: 33.72 kB / 445.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.1623, allocations: 18.06 kB / 445.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.1624, allocations: 154.5 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.1624, allocations: 384 / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.1624, allocations: 7.578 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.992e-05/0.1625, allocations: 61.84 kB / 445.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1625, allocations: 9.625 kB / 445.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1625, allocations: 3.938 kB / 445.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.1625, allocations: 3.031 kB / 445.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.485e-05/0.1626, allocations: 28.84 kB / 445.9 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.1628, allocations: 272 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.419e-05/0.1629, allocations: 50.08 kB / 446.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.1629, allocations: 17.53 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.1629, allocations: 0.625 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.343e-05/0.163, allocations: 44.14 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.163, allocations: 0 / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005319/0.1635, allocations: 241.7 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.1635, allocations: 51.41 kB / 446.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1636, allocations: 280 kB / 446.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.1636, allocations: 25.7 kB / 446.8 MB, free: 42.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.1637, allocations: 122.4 kB / 446.9 MB, free: 41.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.1637, allocations: 26.19 kB / 447 MB, free: 41.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.1637, allocations: 24.86 kB / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.017e-05/0.1638, allocations: 331.3 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.721e-05/0.1638, allocations: 26.95 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.821e-05/0.1638, allocations: 35.77 kB / 447.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.549e-05/0.1639, allocations: 78.48 kB / 447.4 MB, free: 41.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.1639, allocations: 0 / 447.4 MB, free: 41.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001183/0.164, allocations: 114.6 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1641, allocations: 5.5 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1641, allocations: 0.7812 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1641, allocations: 6.188 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.574e-05/0.1641, allocations: 16.59 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.1641, allocations: 0 / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.1642, allocations: 13.19 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1642, allocations: 0 / 447.6 MB, free: 41.51 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 (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 5.126e-05/0.1642, allocations: 148.4 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.1642, allocations: 13.19 kB / 447.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.1644, allocations: 131.1 kB / 447.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1644, allocations: 0 / 447.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1644, allocations: 3.375 kB / 447.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1644, allocations: 2.75 kB / 447.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.1647, allocations: 396.3 kB / 448.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1647, allocations: 0 / 448.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.1647, allocations: 21.45 kB / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1647, allocations: 2.781 kB / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1647, allocations: 3.234 kB / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1647, allocations: 3.938 kB / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1647, allocations: 3.062 kB / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.1648, allocations: 221.3 kB / 448.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-06/0.1649, allocations: 13.53 kB / 448.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.1649, allocations: 6.094 kB / 448.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.817e-05/0.1649, allocations: 12.91 kB / 448.6 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.1649, allocations: 10.16 kB / 448.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.1649, allocations: 2.969 kB / 448.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.219e-05/0.165, allocations: 216.8 kB / 448.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.165, allocations: 0 / 448.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.1652, allocations: 20.53 kB / 448.8 MB, free: 40.8 MB / 410.7 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.0008392/0.166, allocations: 1.128 MB / 449.9 MB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.1661, allocations: 78.83 kB / 450 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.1661, allocations: 0 / 450 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.1662, allocations: 43.3 kB / 450 MB, free: 39.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.1664, allocations: 21.95 kB / 450.1 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1675, allocations: 1.861 MB / 451.9 MB, free: 38.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.331e-05/0.1675, allocations: 109.5 kB / 452 MB, free: 38.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.605e-05/0.1676, allocations: 19.05 kB / 452.1 MB, free: 38.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.1676, allocations: 41.38 kB / 452.1 MB, free: 38.48 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1676, allocations: 0 / 452.1 MB, free: 38.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.1824, allocations: 4.151 MB / 456.2 MB, free: 37.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.47/6.653, allocations: 11.48 kB / 456.3 MB, free: 37.09 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.585322873666883]