Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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.0008597/0.0008597, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001171/0.001171, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9145/0.9145, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.2508/0.2508, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.247e-05, allocations: 2.281 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.1954/0.1955, allocations: 1.603 MB / 443.8 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1965, allocations: 0.5343 MB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.712e-05/0.1966, allocations: 2.688 kB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003946/0.197, allocations: 128.2 kB / 444.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.1974, allocations: 130.8 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.1976, allocations: 118.8 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.1978, allocations: 98.44 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1979, allocations: 14.94 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.879e-05/0.198, allocations: 54.53 kB / 444.9 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.1981, allocations: 88.14 kB / 444.9 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1982, allocations: 2.312 kB / 444.9 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.218e-05/0.1982, allocations: 49.48 kB / 445 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.1983, allocations: 33.12 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.1983, allocations: 15.78 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.1985, allocations: 121 kB / 445.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1985, allocations: 0 / 445.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1985, allocations: 0 / 445.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1985, allocations: 3.125 kB / 445.2 MB, free: 43.14 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.0003928/0.1989, allocations: 359.2 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.199, allocations: 10.5 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.443e-05/0.199, allocations: 38.97 kB / 445.6 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.199, allocations: 17.81 kB / 445.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.1991, allocations: 155 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.1992, allocations: 2.969 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.1992, allocations: 4.172 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.1993, allocations: 60.56 kB / 445.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1993, allocations: 4.141 kB / 445.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.1993, allocations: 384 / 445.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1993, allocations: 4.125 kB / 445.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.863e-05/0.1994, allocations: 35.56 kB / 445.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.1997, allocations: 270.9 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.638e-05/0.1997, allocations: 46.89 kB / 446.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/0.1998, allocations: 24.52 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1998, allocations: 1.938 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.1998, allocations: 36.62 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.1998, allocations: 0 / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005874/0.2004, allocations: 240.9 kB / 446.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.2004, allocations: 55.34 kB / 446.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.2006, allocations: 282.1 kB / 446.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.2006, allocations: 26.27 kB / 446.8 MB, free: 42.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.2006, allocations: 115.4 kB / 446.9 MB, free: 41.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.2006, allocations: 32.12 kB / 446.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.2007, allocations: 26 kB / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.441e-05/0.2007, allocations: 330.7 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.387e-05/0.2008, allocations: 30.66 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.863e-05/0.2008, allocations: 28.94 kB / 447.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.87e-05/0.2009, allocations: 77.8 kB / 447.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2009, allocations: 4 kB / 447.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001279/0.201, allocations: 116.3 kB / 447.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.201, allocations: 5.875 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2011, allocations: 3.938 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.2011, allocations: 0 / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/0.2012, allocations: 17.95 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2012, allocations: 0 / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.358e-05/0.2012, allocations: 4.375 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.2012, allocations: 10.84 kB / 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 6.01e-05/0.2013, allocations: 142.8 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.2013, allocations: 13.75 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.2014, allocations: 134.5 kB / 447.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2014, allocations: 0 / 447.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2015, allocations: 3.938 kB / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2015, allocations: 2.625 kB / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.2018, allocations: 401 kB / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2018, allocations: 3.062 kB / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.583e-05/0.2018, allocations: 14.92 kB / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2018, allocations: 2.906 kB / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.2018, allocations: 7.297 kB / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.2018, allocations: 2.781 kB / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2018, allocations: 3.938 kB / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.2019, allocations: 215.1 kB / 448.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.202, allocations: 16.88 kB / 448.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.202, allocations: 4 kB / 448.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.728e-05/0.202, allocations: 9.625 kB / 448.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.202, allocations: 12.81 kB / 448.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.202, allocations: 0 / 448.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.478e-05/0.2021, allocations: 214.8 kB / 448.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2021, allocations: 0 / 448.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001682/0.2023, allocations: 18.44 kB / 448.8 MB, free: 40.78 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.001013/0.2033, allocations: 1.127 MB / 449.9 MB, free: 39.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.2035, allocations: 74.39 kB / 450 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2035, allocations: 0 / 450 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.408e-05/0.2035, allocations: 39.11 kB / 450 MB, free: 39.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.2038, allocations: 27.84 kB / 450 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.205, allocations: 1.852 MB / 451.9 MB, free: 38.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.216e-05/0.2051, allocations: 109 kB / 452 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.079e-05/0.2051, allocations: 22.62 kB / 452 MB, free: 38.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.2052, allocations: 44.55 kB / 452.1 MB, free: 38.45 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2052, allocations: 0 / 452.1 MB, free: 38.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.2234, allocations: 4.141 MB / 456.2 MB, free: 37.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.698/6.921, allocations: 6.375 kB / 456.2 MB, free: 37.05 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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.920117791742086]